8 lines
170 B
Bash
Executable file
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
|