summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index f5b6f61..b5a8dc1 100755
--- a/install.sh
+++ b/install.sh
@@ -5,13 +5,13 @@
SSH_BASE_URL="git@git.zachir.xyz:zachir/"
HTTP_BASE_URL="https://git.zachir.xyz/"
-SCRIPT_DIRS="$(<<EOF
+SCRIPT_DIRS="$(cat << 'EOF'
generics
scripts
shortcmds
sp
EOF
-
+)"
printhelp () {
printf "install.sh | Used to add my other script repos as submodules. Feel free to modfy it to clone yours as well.\n"
@@ -50,5 +50,6 @@ clone_dir () {
}
echo "$SCRIPT_DIRS" | while read i; do
+ [ -z "$i" ] && continue
clone_dir "$i" "$___USE_SSH"
done