bin/clonegit-nofxwiki.net
2009-11-24 09:28:43 -08:00

8 lines
170 B
Bash
Executable file

#!/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