Escape arguments for CHMOD before the mode

This commit is contained in:
Pierre Pronchery 2014-11-27 19:55:56 +01:00
parent fb3ed4e1b0
commit ac8c7a11b9

View File

@ -179,6 +179,6 @@ while [ $# -gt 0 ]; do
$RM -- "$target" 2> "$DEVNULL"
exit 2
elif [ -x "$source" ]; then
$DEBUG $CHMOD 0755 "$target"
$DEBUG $CHMOD -- 0755 "$target"
fi
done