Skip to content

Commit 7eced05

Browse files
authored
Merge pull request #48 from l3ender/compatibility
macOS compatibility
2 parents 56b88b0 + 2fbe17e commit 7eced05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/deploy-azure-container-app-job-cpuad-updater.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ else
3737
fi
3838

3939
# Check if resources are provisioned
40-
if [[ "${AZD_IS_PROVISIONED,,}" != "true" ]]; then
40+
if [[ "$(echo "${AZD_IS_PROVISIONED}" | tr '[:upper:]' '[:lower:]')" != "true" ]]; then
4141
echo "Azure resources are not provisioned. Please run 'azd provision' to set up the necessary resources before running this script."
4242
exit 1
4343
fi

scripts/deploy-azure-container-app-job-update-grafana.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fi
3636

3737
echo "is provisioned: $AZD_IS_PROVISIONED"
3838

39-
if [ "${AZD_IS_PROVISIONED,,}" != "true" ]; then
39+
if [[ "$(echo "${AZD_IS_PROVISIONED}" | tr '[:upper:]' '[:lower:]')" != "true" ]]; then
4040
echo "Azure resources are not provisioned. Please run 'azd provision' to set up the necessary resources before running this script."
4141
exit 1
4242
fi

0 commit comments

Comments
 (0)