summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-05-31 02:11:52 -0500
committerZachIR <zachir@librem.one>2025-05-31 02:11:52 -0500
commit4da60aad75c6d8cc03423fa45620fb670d3c02bb (patch)
tree6dc41bf8ff2bb3c2dcdb7f0e0974e89fdcd9e65a /install.sh
parentadb5dbef8e382f98caf3104ebd1a88af592f0970 (diff)
Fix install.sh for dash /bin/sh
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