Use braces and quotes appropriately

This commit is contained in:
Bart Thomee
2025-11-02 18:35:49 +00:00
parent 9816765706
commit f77dc6cefc

View File

@@ -5,7 +5,7 @@ set -e
# On MacOS, ensure that GNU sed is installed and available as `gsed`.
SED_COMMAND=sed
if [[ "$OSTYPE" == "darwin"* ]]; then
if [[ "${OSTYPE}" == 'darwin'* ]]; then
if ! command -v gsed &> /dev/null; then
echo "Error: gsed is not installed. Please install it using 'brew install gnu-sed'."
exit 1