Skip to content

Commit edb0832

Browse files
committed
Merge pull request Azure#1623 from stankovski/clu
Replaced #!/bin/bash with #!/bin/env/bash to support OSX
2 parents 64b6c47 + e284c9d commit edb0832

15 files changed

+15
-15
lines changed

examples/compute-management/01-VirtualMachineSizes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
set -e
33
printf "\n=== Managing Virtual Machine Sizes in Azure Compute ===\n"
44

examples/compute-management/02-VirtualMachineCreation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
set -e
33
printf "\n=== Managing Virtual Machine Creation in Azure Compute ===\n"
44

examples/lib/helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22

33
randomName() {
44
echo "$1$RANDOM"

examples/lib/loginService.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
az account add --spn --appid "$spn" --secret "$secret" -t "$tenant" -s "$spnSubscription"

examples/lib/loginUser.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
az account add -u "$azureUser" -p "$password" -s "$userSubscription"

examples/lib/testrunner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
export TESTDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
33
. $TESTDIR/helper.sh
44
export groupName=`randomName testrg`

examples/resource-management/01-ResourceGroups.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
set -e
33
printf "\n=== Managing Resource Groups in Azure ===\n"
44

examples/resource-management/02-Resource.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
set -e
33
printf "\n=== Managing Resources in Azure ===\n"
44

examples/resource-management/03-Deployments.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
set -e
33
printf "\n=== Provisioning Deployments in Azure ===\n"
44

examples/resource-management/04-RoleAssignments.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
set -e
33
printf "\n=== Managing Role Assignments in Azure ===\n"
44

examples/resource-management/05-RoleDefinitions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
set -e
33
printf "\n=== Managing Role Definitions in Azure ===\n"
44

examples/virtual-hard-disk/01-VirtualHardDisks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
set -e
33
printf "\n=== Managing Virtual Hard Disks in Azure Compute ===\n"
44

examples/webapp-management/01-AppServicePlan.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
set -e
33
printf "\n=== Managing App Service Plans in Azure ===\n"
44

examples/webapp-management/02-WebAppSlot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
set -e
33
printf "\n=== Managing Web App Slot in Azure ===\n"
44

examples/webapp-management/03-WebApp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/env/bash
22
printf "\n=== Managing Web Apps in Azure ===\n"
33

44
printf "\nSetup: Creating a new resource group: %s at location: %s.\n" "$groupName" "$location"

0 commit comments

Comments
 (0)