diff --git a/upload.sh b/upload.sh index 862eb78..8409aab 100755 --- a/upload.sh +++ b/upload.sh @@ -30,9 +30,9 @@ if [ -z "$PLUGIN_CHMOD" ]; then PLUGIN_CHMOD="" else if [ "$PLUGIN_CHMOD" = true ]; then - PLUGIN_CHMOD="-p" - else PLUGIN_CHMOD="" + else + PLUGIN_CHMOD="-p" fi fi