fix __file/gencode: use destination, not path

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-23 09:23:59 +01:00
parent a2992f0c6e
commit cea051a105

View file

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