Skip to content

Commit bae2ee2

Browse files
authored
Aligning with Bash style guide
Changed variables to align with bash style guide
1 parent b7f6ac0 commit bae2ee2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-resource-manager/templates/deployment-script-template-configure-dev.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ $DeploymentScriptOutputs['text'] = $output
3434
For an Azure CLI container image, you can create a *hello.sh* file by using the following content:
3535

3636
```bash
37-
firstname=$1
38-
lastname=$2
39-
output="{\"name\":{\"displayName\":\"$firstname $lastname\",\"firstName\":\"$firstname\",\"lastName\":\"$lastname\"}}"
37+
FIRSTNAME=$1
38+
LASTNAME=$2
39+
OUTPUT="{\"name\":{\"displayName\":\"$FIRSTNAME $LASTNAME\",\"firstName\":\"$FIRSTNAME\",\"lastName\":\"$LASTNAME\"}}"
4040
echo -n "Hello "
41-
echo $output | jq -r '.name.displayName'
41+
echo $OUTPUT | jq -r '.name.displayName'
4242
```
4343

4444
> [!NOTE]

0 commit comments

Comments
 (0)