Skip to content

Commit fe0ce65

Browse files
committed
fix: shell check
Signed-off-by: matttrach <matt.trachier@suse.com>
1 parent fe2ba0e commit fe0ce65

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

examples/downstream/modules/downstream/applyK8sManifest.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616

1717
TMPFILE=$(mktemp)
18-
cat > $TMPFILE
19-
if [ -z "$(cat $TMPFILE)" ]; then echo "no contents supplied, failing..."; exit 1; fi
18+
cat > "$TMPFILE"
19+
if [ -z "$(cat "$TMPFILE")" ]; then echo "no contents supplied, failing..."; exit 1; fi
2020

21-
kubectl apply -f $TMPFILE
21+
kubectl apply -f "$TMPFILE"
2222

23-
rm -f $TMPFILE
23+
rm -f "$TMPFILE"

0 commit comments

Comments
 (0)