diff options
author | ZachIR <zachir@librem.one> | 2025-05-31 02:11:52 -0500 |
---|---|---|
committer | ZachIR <zachir@librem.one> | 2025-05-31 02:11:52 -0500 |
commit | 4da60aad75c6d8cc03423fa45620fb670d3c02bb (patch) | |
tree | 6dc41bf8ff2bb3c2dcdb7f0e0974e89fdcd9e65a /install.sh | |
parent | adb5dbef8e382f98caf3104ebd1a88af592f0970 (diff) |
Fix install.sh for dash /bin/sh
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |