summaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2013-12-31 17:15:44 -0600
committerNicolas Williams <nico@cryptonector.com>2013-12-31 17:19:40 -0600
commit99f170adc368fcbf3f1f2226660543aa7974f054 (patch)
treede898cb49aee13e8ddd2c001e6f92dde94650aa3 /setup.sh
parentf60d83c15fe36c2a8141813d4657bb6299f0b96e (diff)
Fix version for make dist on master
- Re-remove VERSION file and all traces of it - Pass a decent version indicator to AC_INIT (using git describe) When we tag 1.4 this will produce 1.4 as the version string when building on the HEAD of that tag.
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.sh b/setup.sh
index c63fc9cd..63dc899d 100755
--- a/setup.sh
+++ b/setup.sh
@@ -14,7 +14,7 @@ if [ "clean" == "$1" ]; then
rm -f jv_utf8_tables.gen.h lexer.c lexer.h parser.c parser.h
elif [ "superclean" == "$1" ]; then
# if autoconf errors during distcheck, it leaves files that need chmod'ing
- ver=$(tr -d '\n' <VERSION)
+ ver=$(scripts/version|tr -d '\n')
if [ "x${ver}" != "x" ]; then
if [ -d jq-${ver} ]; then
chmod -R u+w jq-${ver}