From 8dcca4fef9674b83cbe6ceec4cd00f5bfa6fb7fb Mon Sep 17 00:00:00 2001 From: squaresun <5quar3sun@gmail.com> Date: Fri, 2 Mar 2018 18:31:15 +0800 Subject: [PATCH] Fix PLUGIN_CHMOD checking --- upload.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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