commit ff89e6de0b74f4ca006ce2ceb460880c0fe6fb8d parent 651f86062771834fa941334e15903ef5a3e408a3 Author: sin <sin@2f30.org> Date: Tue, 24 Sep 2013 13:55:02 +0100 Simplify 2f30-clone-all Diffstat:
M | 2f30-clone-all | | | 6 | +----- |
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/2f30-clone-all b/2f30-clone-all @@ -5,10 +5,6 @@ trap 'rm -f projects; exit 0' 2 wget http://dl.2f30.org/projects -O projects while read line; do - if [ ! -d ${line} ]; then - git clone git@git.2f30.org:${line} - else - echo "Skipping ${line}..." - fi + [ ! -d ${line} ] && git clone git@git.2f30.org:${line} done < projects rm projects