summaryrefslogtreecommitdiff
path: root/git-shell-commands/mirror
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-02 13:48:51 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-02 13:48:51 -0400
commite3f6b8e3246f89c6df4052006d18df542721c16e (patch)
tree481143d61ead547b2e76ac66bc07cc533f2f7f6e /git-shell-commands/mirror
parent296184cb6a3f34b2e1f0ced37e862f1fcae7cc0c (diff)
lukeshu-ify the git-shell-commands
mostly, handle escaping repo names consistently-ish
Diffstat (limited to 'git-shell-commands/mirror')
-rwxr-xr-xgit-shell-commands/mirror6
1 files changed, 2 insertions, 4 deletions
diff --git a/git-shell-commands/mirror b/git-shell-commands/mirror
index 212687e..8282e9b 100755
--- a/git-shell-commands/mirror
+++ b/git-shell-commands/mirror
@@ -5,8 +5,6 @@
set -E
-for _m in $@; do
- git clone --mirror $_m
+for _m in "$@"; do
+ git clone --mirror "$_m"
done
-
-exit $?