From 277fd8db0f598635ad0aa44789791366fe571b2d Mon Sep 17 00:00:00 2001 From: Mario Tomelin Date: Thu, 21 Nov 2024 16:33:58 -0300 Subject: [PATCH] pastsub_replacement fixes #40 , issue related to Bash 5.2 and '&' as delimitier. --- upload.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/upload.sh b/upload.sh index 404b327..45acc6b 100755 --- a/upload.sh +++ b/upload.sh @@ -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