refining the chmod condition
This commit is contained in:
parent
3f5d32cffe
commit
5969e57e2b
10
upload.sh
10
upload.sh
@ -26,14 +26,10 @@ if [ -z "$PLUGIN_SRC_DIR" ]; then
|
||||
PLUGIN_SRC_DIR="/"
|
||||
fi
|
||||
|
||||
if [ -z "$PLUGIN_CHMOD" ]; then
|
||||
PLUGIN_CHMOD=""
|
||||
else
|
||||
if [ "$PLUGIN_CHMOD" = true ]; then
|
||||
PLUGIN_CHMOD=""
|
||||
else
|
||||
if [ "$PLUGIN_CHMOD" = false ]; then
|
||||
PLUGIN_CHMOD="-p"
|
||||
fi
|
||||
else
|
||||
PLUGIN_CHMOD=""
|
||||
fi
|
||||
|
||||
PLUGIN_EXCLUDE_STR=""
|
||||
|
Loading…
x
Reference in New Issue
Block a user