scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 7b8b6460769e8f8ef6947ae71128322b5865aa39
parent 212a564be011e91dd5427f056cba9561eadd7883
Author: sin <sin@2f30.org>
Date:   Wed, 17 Jul 2013 17:43:07 +0100

Some stylistic changes

Diffstat:
M2f30-clone-all | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/2f30-clone-all b/2f30-clone-all @@ -2,13 +2,14 @@ trap 'rm -f projects; exit 0' 2 -curl -s http://git.2f30.org | awk '/<a title=/ {print $3}' | sed 's/.*=//g' | sed "s/'//g" > projects +curl -s http://git.2f30.org | awk '/<a title=/ {print $3}' \ + | sed 's/.*=//g' | sed "s/'//g" > projects while read line; do - if [ ! -d "$line" ]; then - git clone git@git.2f30.org:"$line" + if [ ! -d ${line} ]; then + git clone git@git.2f30.org:${line} else - echo "Skipping $line..." + echo "Skipping ${line}..." fi done < projects rm projects