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