[NEW] Script to clone a git repo on nofxwiki.net.
This commit is contained in:
parent
222aca1b21
commit
8d8c462bc6
1 changed files with 8 additions and 0 deletions
8
clonegit-nofxwiki.net
Executable file
8
clonegit-nofxwiki.net
Executable 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
|
||||||
Loading…
Reference in a new issue