mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Use braces and quotes appropriately
This commit is contained in:
2
.github/scripts/rename/binary.sh
vendored
2
.github/scripts/rename/binary.sh
vendored
@@ -5,7 +5,7 @@ set -e
|
|||||||
|
|
||||||
# On MacOS, ensure that GNU sed is installed and available as `gsed`.
|
# On MacOS, ensure that GNU sed is installed and available as `gsed`.
|
||||||
SED_COMMAND=sed
|
SED_COMMAND=sed
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "${OSTYPE}" == 'darwin'* ]]; then
|
||||||
if ! command -v gsed &> /dev/null; then
|
if ! command -v gsed &> /dev/null; then
|
||||||
echo "Error: gsed is not installed. Please install it using 'brew install gnu-sed'."
|
echo "Error: gsed is not installed. Please install it using 'brew install gnu-sed'."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user