--- a/contrib/packagelib.sh Wed Oct 11 01:19:48 2017 +0200
+++ b/contrib/packagelib.sh Wed Oct 11 01:37:43 2017 +0200
@@ -12,9 +12,9 @@
make local || make local PURE=--pure
HG="$PWD/hg"
- $HG version > /dev/null || { echo 'abort: hg version failed!'; exit 1 ; }
+ "$HG" version > /dev/null || { echo 'abort: hg version failed!'; exit 1 ; }
- hgversion=`LANGUAGE=C $HG version | sed -ne 's/.*(version \(.*\))$/\1/p'`
+ hgversion=`LANGUAGE=C "$HG" version | sed -ne 's/.*(version \(.*\))$/\1/p'`
if echo $hgversion | grep + > /dev/null 2>&1 ; then
tmp=`echo $hgversion | cut -d+ -f 2`