#!/bin/bash
ver=`cat src/mumble/Global.h | grep '#define MUMBLE_VERSION' | sed 's,.*MUMBLE_VERSION\ ",,' | sed 's,".*,,'`
if [ "$ver" != "" ]; then
	python scripts/osxdist.py $ver
else
	python scripts/osxdist.py
fi

#!/bin/bash
ver=`cat src/mumble/Global.h | grep '#define MUMBLE_VERSION' | sed 's,.*MUMBLE_VERSION\ ,,'`
if [ "$ver" != "" ]; then
	python scripts/osxdist.py $ver
else
	python scripts/osxdist.py
fi

Fix automatic version parsing in OS X distribution scripts.
Fix automatic version parsing in OS X distribution scripts.


git-svn-id: 1bc0666016e746585a50f826fc9dc079e42ee77e@1133 05730e5d-ab1b-0410-a4ac-84af385074fa
