[NEW] Script to clone a git repo on nofxwiki.net.

This commit is contained in:
Sami Samhuri 2009-11-24 09:28:43 -08:00
parent 222aca1b21
commit 8d8c462bc6

8
clonegit-nofxwiki.net Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
# if no 2nd arg call again with first arg as second arg
if [[ x"$2" = x ]]; then
"$0" "$1" "$1"
else
git clone "ssh://nofxwiki.net/var/git/$1" "$2"
fi