Show More
@@ -12,9 +12,9 b' gethgversion() {' | |||||
12 | make local || make local PURE=--pure |
|
12 | make local || make local PURE=--pure | |
13 | HG="$PWD/hg" |
|
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 | if echo $hgversion | grep + > /dev/null 2>&1 ; then |
|
19 | if echo $hgversion | grep + > /dev/null 2>&1 ; then | |
20 | tmp=`echo $hgversion | cut -d+ -f 2` |
|
20 | tmp=`echo $hgversion | cut -d+ -f 2` |
General Comments 0
You need to be logged in to leave comments.
Login now