Remove some stale bits from make_pkg.sh

This commit is contained in:
ridiculousfish 2019-01-31 16:06:34 -08:00
parent b952606430
commit 23f8f1b6fb

View file

@ -5,19 +5,12 @@
VERSION=`git describe --always --dirty 2>/dev/null`
if test -z "$VERSION" ; then
echo "Could not get version from git"
VERSION=`sed -E -n 's/^.*PACKAGE_VERSION "([0-9a-z.\-]+)"/\1/p' osx/config.h`
if test -z "$VERSION"; then
echo "Could not get version from osx/config.h"
exit 1
fi
fi
echo "Version is $VERSION"
set -x
make distclean
#Exit on error
set -e