Don't use '--' with chmod and chown. The FreeBSD versions don't accept it,
and we don't need it anyhow, as we're not installing files or dirs that start with a '-'. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1206 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -220,8 +220,8 @@ mkdirhier() {
|
||||
REST="${REST#*/}"
|
||||
if [ ! -d "$DIR" ]; then
|
||||
mkdir "$DIR"
|
||||
[ -n "$MODE" ] && chmod "$MODE" -- "$DIR"
|
||||
[ -n "$OWNER" ] && chown "$OWNER" -- "$DIR"
|
||||
[ -n "$MODE" ] && chmod "$MODE" "$DIR"
|
||||
[ -n "$OWNER" ] && chown "$OWNER" "$DIR"
|
||||
fi
|
||||
DIR="${DIR}/"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user