check PLUGIN_CHMOD if true

This commit is contained in:
squaresun 2018-03-02 18:12:23 +08:00 committed by dominic
parent 12f35a5741
commit a037f0a362

View File

@ -29,7 +29,10 @@ fi
if [ -z "$PLUGIN_CHMOD" ]; then
PLUGIN_CHMOD=""
else
if [ "$PLUGIN_CHMOD" = true ]; then
PLUGIN_CHMOD="-p"
else
PLUGIN_CHMOD=""
fi
PLUGIN_EXCLUDE_STR=""