Commit bad7a161 authored by Brendan Cully's avatar Brendan Cully

version.sh: fix(?) failure due to bizarre sh quoting rules

I have not checked POSIX, and sh quoting always makes my head hurt, but this
seems to suffice for my sh (actually bash in sh mode) when HGROOT contains a space.
parent f1e244cb
......@@ -2,7 +2,7 @@
# Adopt $HGROOT from the environment, if present
HG=hg
[ -n "$HGROOT" ] && HG="$HG -R '$HGROOT'"
[ -n "$HGROOT" ] && HG="$HG -R \$HGROOT"
# Ensure that we have a repo here and that mercurial is installed. If
# not, just cat the VERSION file; it contains the latest release number.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment