From 48b0ec4fe20c265d2991071de1bb1f3493bbef28 Mon Sep 17 00:00:00 2001 From: Simon Let Date: Mon, 27 Feb 2023 21:29:45 +0100 Subject: [PATCH] Use bash instead of sh We are relying on some bash-specific substitutions that I can't get rid off quickly and safely. --- README.md | 4 ++-- installation.md | 4 ++-- scripts/rawinstall.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ee7cc97..d7f855a 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,10 @@ Relevant results are displayed first based on current directory, git repo, and e Install RESH with one command: ```sh -curl -fsSL https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawinstall.sh | sh +curl -fsSL https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawinstall.sh | bash ``` -ℹ️ You will need to have `curl` and `tar` installed. +ℹ️ You will need to have `bash`, `curl`, and `tar` installed. More options on [Installation page ⇗](./installation.md) diff --git a/installation.md b/installation.md index 2ddf816..7b0e2eb 100644 --- a/installation.md +++ b/installation.md @@ -5,10 +5,10 @@ Feel free to check the `rawinstall.sh` script before running it. ```sh -curl -fsSL https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawinstall.sh | sh +curl -fsSL https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawinstall.sh | bash ``` -ℹ️ You will need to have `curl` and `tar` installed. +ℹ️ You will need to have `bash`, `curl`, and `tar` installed. ## Clone & install diff --git a/scripts/rawinstall.sh b/scripts/rawinstall.sh index da25a49..f951f5d 100755 --- a/scripts/rawinstall.sh +++ b/scripts/rawinstall.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -eu +set -euo pipefail echo echo "Please report any issues you encounter to: https://github.com/curusarn/resh/issues"