##// END OF EJS Templates
build: initial version detection by make deb/rpm was missing quoting
muxator -
r34624:baa52288 default
parent child Browse files
Show More
@@ -12,9 +12,9 b' gethgversion() {'
12 12 make local || make local PURE=--pure
13 13 HG="$PWD/hg"
14 14
15 $HG version > /dev/null || { echo 'abort: hg version failed!'; exit 1 ; }
15 "$HG" version > /dev/null || { echo 'abort: hg version failed!'; exit 1 ; }
16 16
17 hgversion=`LANGUAGE=C $HG version | sed -ne 's/.*(version \(.*\))$/\1/p'`
17 hgversion=`LANGUAGE=C "$HG" version | sed -ne 's/.*(version \(.*\))$/\1/p'`
18 18
19 19 if echo $hgversion | grep + > /dev/null 2>&1 ; then
20 20 tmp=`echo $hgversion | cut -d+ -f 2`
General Comments 0
You need to be logged in to leave comments. Login now