Skip to content

Commit

Permalink
pastsub_replacement
Browse files Browse the repository at this point in the history
fixes #40 , issue related to Bash 5.2 and '&' as delimitier.
  • Loading branch information
tomeli5n authored Nov 21, 2024
1 parent 25ded3b commit 277fd8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions upload.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Disable patsub_replacement to avoid issues with '&' in pattern substitutions
shopt -u patsub_replacement

if [ -z "$PLUGIN_HOSTS" ]; then
echo "Specify at least one host!"
exit 1
Expand Down

0 comments on commit 277fd8d

Please sign in to comment.