Fix shell substitution typo
authorRocco Rutte <pdmef@gmx.net>
Mon, 22 Oct 2007 08:28:41 +0000 (08:28 +0000)
committerRocco Rutte <pdmef@gmx.net>
Mon, 22 Oct 2007 08:28:41 +0000 (08:28 +0000)
Signed-off-by: Rocco Rutte <pdmef@gmx.net>
hg-fast-export.sh
hg-reset.sh

index f9d1dd6..3fc8f71 100755 (executable)
@@ -10,7 +10,7 @@ SFX_MARKS="marks"
 SFX_HEADS="heads"
 SFX_STATE="state"
 QUIET=""
-PYTHON=${PYTHON:python}
+PYTHON=${PYTHON:-python}
 
 USAGE="[--quiet] [-r <repo>] [-m <max>] [-s] [-A <file>]"
 LONG_USAGE="Import hg repository <repo> up to either tip or <max>
index 63d7fe1..2b7b775 100755 (executable)
@@ -10,7 +10,7 @@ SFX_MARKS="marks"
 SFX_HEADS="heads"
 SFX_STATE="state"
 QUIET=""
-PYTHON=${PYTHON:python}
+PYTHON=${PYTHON:-python}
 
 USAGE="[-r <repo>] -R <rev>"
 LONG_USAGE="Print SHA1s of latest changes per branch up to <rev> useful