From 411cfcacbf6892a2e82acd58747265df666b1288 Mon Sep 17 00:00:00 2001 From: JtMotoX <7191259+JtMotoX@users.noreply.github.com> Date: Fri, 29 Nov 2024 14:14:56 -0800 Subject: [PATCH] support /bin/sh as Dash Signed-off-by: JtMotoX <7191259+JtMotoX@users.noreply.github.com> --- scripts/bootstrap-dev.sh | 2 +- scripts/bootstrap-prod.sh | 2 +- scripts/bootstrap.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/bootstrap-dev.sh b/scripts/bootstrap-dev.sh index a9293b3..67481ea 100755 --- a/scripts/bootstrap-dev.sh +++ b/scripts/bootstrap-dev.sh @@ -15,7 +15,7 @@ if true; then export LANG=en_US.UTF-8 export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH" - if ! curl --no-progress-meter file:/// &>/dev/null; then + if ! curl --no-progress-meter file:/// >/dev/null 2>&1; then echo "Your version of cURL is too old. This usually means your macOS is very out" echo "of date. Installing Asahi Linux requires at least macOS version 13.5." exit 1 diff --git a/scripts/bootstrap-prod.sh b/scripts/bootstrap-prod.sh index d3f4e61..a63b346 100755 --- a/scripts/bootstrap-prod.sh +++ b/scripts/bootstrap-prod.sh @@ -15,7 +15,7 @@ if true; then export LANG=en_US.UTF-8 export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH" - if ! curl --no-progress-meter file:/// &>/dev/null; then + if ! curl --no-progress-meter file:/// >/dev/null 2>&1; then echo "Your version of cURL is too old. This usually means your macOS is very out" echo "of date. Installing Asahi Linux requires at least macOS version 13.5." exit 1 diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 3166fe4..fb002b8 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -15,7 +15,7 @@ if true; then export LANG=en_US.UTF-8 export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH" - if ! curl --no-progress-meter file:/// &>/dev/null; then + if ! curl --no-progress-meter file:/// >/dev/null 2>&1; then echo "Your version of cURL is too old. This usually means your macOS is very out" echo "of date. Installing Asahi Linux requires at least macOS version 13.5." exit 1