From d75773a83c35ccdae2825f24c27ded7d9bfad886 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 25 Jan 2010 00:31:54 +0100 Subject: [PATCH] jobd/update.sh: darcs-specific typo fixes The same darcs-specific problems we already fixed for cloning. --- jobd/update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jobd/update.sh b/jobd/update.sh index 4e459a9..2ea0a65 100755 --- a/jobd/update.sh +++ b/jobd/update.sh @@ -6,7 +6,7 @@ git_darcs_fetch() { "$cfg_basedir"/bin/darcs-fast-export --export-marks=$(pwd)/dfe-marks --import-marks=$(pwd)/dfe-marks "$1" | \ git fast-import --export-marks=$(pwd)/gfi-marks --import-marks=$(pwd)/gfi-marks - [ $PIPESTATUS[0] = 0 -a $PIPESTATUS[1] = 0 ] + [ ${PIPESTATUS[0]} = 0 -a ${PIPESTATUS[1]} = 0 ] return $? } @@ -36,7 +36,7 @@ case "$url" in GIT_DIR=. bang git fetch ;; darcs://*) - httpurl="${url/darcs:\/\//http:\/\/}" + httpurl="${url/darcs:\/\//http://}" bang git_darcs_fetch "$httpurl" ;; *) -- 2.11.4.GIT