From 0c0209e83b4585e4ca466c77c9085a0b552e6d36 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 23 Feb 2011 09:29:57 +0100 Subject: [PATCH] update __file/gencode to include parameters/ prefix Signed-off-by: Nico Schottelius --- conf/types/__file/gencode | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/types/__file/gencode b/conf/types/__file/gencode index 1040875c..ed1fae90 100755 --- a/conf/types/__file/gencode +++ b/conf/types/__file/gencode @@ -22,11 +22,11 @@ # example for typewrites later # -type="$(cat type)" +type="$(cat parameters/type)" # If destination was specified, do not use the id -if [ -f destination ]; then - destination="$(cat destination)" +if [ -f parameters/destination ]; then + destination="$(cat parameters/destination)" else destination="$1" fi @@ -46,7 +46,7 @@ case "$type" in ;; esac -if [ -f mode ]; then - mode="$(cat mode)" +if [ -f parameters/mode ]; then + mode="$(cat parameters/mode)" echo chmod \"$mode\" \"$destination\" fi