From fbfa5077c2b7920f0ffa5fdf49bf7b5eaca7819a Mon Sep 17 00:00:00 2001 From: xonotic Date: Mon, 22 Mar 2010 14:25:30 +0100 Subject: [PATCH] support stupid rcp-style notation for ssh paths in ./all --- all | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ;; -- 2.39.2