From ac8c7a11b95cce3e288e535da1f0930b5c9d55a7 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 27 Nov 2014 19:55:56 +0100 Subject: [PATCH] Escape arguments for CHMOD before the mode --- doc/scripts/subst.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/scripts/subst.sh b/doc/scripts/subst.sh index 87e79c8..281a96b 100755 --- a/doc/scripts/subst.sh +++ b/doc/scripts/subst.sh @@ -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