refining the chmod condition
This commit is contained in:
parent
3f5d32cffe
commit
5969e57e2b
1 changed files with 3 additions and 7 deletions
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=""
|
||||
if [ "$PLUGIN_CHMOD" = false ]; then
|
||||
PLUGIN_CHMOD="-p"
|
||||
else
|
||||
if [ "$PLUGIN_CHMOD" = true ]; then
|
||||
PLUGIN_CHMOD=""
|
||||
else
|
||||
PLUGIN_CHMOD="-p"
|
||||
fi
|
||||
PLUGIN_CHMOD=""
|
||||
fi
|
||||
|
||||
PLUGIN_EXCLUDE_STR=""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue