Use braces and quotes appropriately

This commit is contained in:
Bart Thomee
2025-11-02 18:36:35 +00:00
parent 4cae198dca
commit 037f54a4d5

View File

@@ -7,7 +7,7 @@ set -e
# and `ghead`, respectively.
SED_COMMAND=sed
HEAD_COMMAND=head
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