Skip to content

Commit 3d2f108

Browse files
authored
Merge pull request #107908 from lanicolas/patch-4
Aligning with Bash style guide
2 parents 6300192 + bae2ee2 commit 3d2f108

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)