diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-10-03 17:33:28 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-10-03 17:33:28 +0200 |
| commit | dc231ec460ccdb0381b450cecd4f3516fb281207 (patch) | |
| tree | 7343c99f42bf8f56fcdb96d3ada603f0b83507e2 /common/install.sh | |
| parent | c0145b069d3427b0afeeb92ee56ae6b7c857c51f (diff) | |
| download | dotfiles-dc231ec460ccdb0381b450cecd4f3516fb281207.tar.gz dotfiles-dc231ec460ccdb0381b450cecd4f3516fb281207.zip | |
Testing one liner installer command
Diffstat (limited to 'common/install.sh')
| -rwxr-xr-x | common/install.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/common/install.sh b/common/install.sh index cea4b52..cb7a467 100755 --- a/common/install.sh +++ b/common/install.sh @@ -10,13 +10,13 @@ # POSIX-compatible shim: if not running under bash (e.g., invoked via `sh -c "$(curl ...)"`), # re-exec the remainder of this script with bash. -if [ -z "${BASH_VERSION:-}" ]; then - tmp="$(mktemp)" || exit 1 - # Read the rest of the script into a temp file, then exec bash on it - cat > "$tmp" - exec bash "$tmp" "$@" - exit 1 -fi +#if [ -z "${BASH_VERSION:-}" ]; then +# tmp="$(mktemp)" || exit 1 +# # Read the rest of the script into a temp file, then exec bash on it +# cat > "$tmp" +# exec bash "$tmp" "$@" +# exit 1 +#fi set -euo pipefail # Exit on error, undefined vars, pipe failures |
