diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/rcm.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/rcm.sh.in b/share/rcm.sh.in index d0387e2..a1c9f40 100644 --- a/share/rcm.sh.in +++ b/share/rcm.sh.in @@ -136,7 +136,7 @@ run_hooks() { # else's dotfiles repository without reviewing the hooks before doing an `rcup`? find "$hook_file" -type f \( \( -user $LOGNAME -perm -100 \) -o -perm -001 \) \ | sort | while read file; do - sh -c 'cd "`dirname $1`" && ./"`basename $1`"' arg0 "$file" + sh -c 'cd -- "`dirname $1`" && ./"`basename $1`"' arg0 "$file" done else $DEBUG "no $when-$direction hook present for $dotfiles_dir, skipping" |