From: xonotic Date: Mon, 22 Mar 2010 13:25:30 +0000 (+0100) Subject: support stupid rcp-style notation for ssh paths in ./all X-Git-Tag: xonotic-v0.1.0preview~543 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=fbfa5077c2b7920f0ffa5fdf49bf7b5eaca7819a;p=xonotic%2Fxonotic.git support stupid rcp-style notation for ssh paths in ./all --- diff --git a/all b/all index d485f00e..d22618ee 100755 --- a/all +++ b/all @@ -20,7 +20,7 @@ d0=`pwd` case "$cmd" in update|pull) base=`git config remote.origin.url` - base=${base%/xonotic.git} + base=${base%xonotic.git} for d in $repos; do if [ -d "$d0/$d" ]; then cd "$d0/$d" @@ -28,13 +28,13 @@ case "$cmd" in .) ;; *) - git config remote.origin.url "$base/${d##*/}.git" + git config remote.origin.url "$base${d##*/}.git" ;; esac git pull cd "$d0" else - git clone "$base/${d##*/}.git" "$d0/$d" + git clone "$base${d##*/}.git" "$d0/$d" fi done ;;