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="/"
|
PLUGIN_SRC_DIR="/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$PLUGIN_CHMOD" ]; then
|
if [ "$PLUGIN_CHMOD" = false ]; then
|
||||||
PLUGIN_CHMOD=""
|
PLUGIN_CHMOD="-p"
|
||||||
else
|
else
|
||||||
if [ "$PLUGIN_CHMOD" = true ]; then
|
PLUGIN_CHMOD=""
|
||||||
PLUGIN_CHMOD=""
|
|
||||||
else
|
|
||||||
PLUGIN_CHMOD="-p"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PLUGIN_EXCLUDE_STR=""
|
PLUGIN_EXCLUDE_STR=""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user