Fix PLUGIN_CHMOD checking

This commit is contained in:
squaresun 2018-03-02 18:31:15 +08:00 committed by dominic
parent 50480b39a1
commit 8dcca4fef9

View File

@ -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