summaryrefslogtreecommitdiff
path: root/tools/gendist
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2018-01-16 14:36:46 +0100
committerOndrej Filip <feela@network.cz>2018-01-16 14:36:46 +0100
commit6f46465af1b3d21ca67e3b4379640c008fc9d1a1 (patch)
tree935d9fa1801f7f19646c429fe08b7f55094b3312 /tools/gendist
parentc2febfa33294be0f457b49f5453d8066a7d88a5d (diff)
Error in version guessingv2.0.1
Diffstat (limited to 'tools/gendist')
-rwxr-xr-xtools/gendist2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gendist b/tools/gendist
index 0275db1a..eb2355d3 100755
--- a/tools/gendist
+++ b/tools/gendist
@@ -4,7 +4,7 @@
# (c) 2000--2004 Martin Mares <mj@ucw.cz>
#
-VERSION=`sed <sysdep/config.h '/BIRD_VERSION/!d;s/^.*"\(.*\)"$/\1/'`
+VERSION=`grep 'BIRD_VERSION \"' sysdep/config.h | sed '/BIRD_VERSION/!d;s/^.*"\(.*\)"$/\1/'`
REL=bird-$VERSION
DREL=bird-doc-$VERSION
T=/tmp/bird