fix __file/gencode: use destination, not path

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.0
Nico Schottelius 14 years ago
parent a2992f0c6e
commit cea051a105
  1. 6
      conf/types/__file/gencode

@ -33,11 +33,11 @@ fi
case "$type" in
directory)
echo mkdir \"$path\"
echo mkdir \"$destination\"
;;
file)
echo touch \"$path\"
echo touch \"$destination\"
;;
*)
@ -48,5 +48,5 @@ esac
if [ -f mode ]; then
mode="$(cat mode)"
echo chmod \"$mode\" \"$path\"
echo chmod \"$mode\" \"$destination\"
fi

Loading…
Cancel
Save