=== modified file 'bin/fileset.awk' --- bin/fileset.awk 2013-09-28 23:58:03 +0000 +++ bin/fileset.awk 2013-09-28 20:13:08 +0000 @@ -1,7 +1,7 @@ #!/bin/awk -f BEGIN { fname="\"$fname\"" # constants so I don't have to write it out - # dirname="\"$dirname\"" + dirname="\"$dirname\"" or_die="|| exit $?" } @@ -86,7 +86,7 @@ print "" print_i("fname=" quoted(crest)) match(crest, /.*\//) - # print_i("dirname=" quoted(substr(crest, 1, RLENGTH-1))) + print_i("dirname=" quoted(substr(crest, 1, RLENGTH-1))) continue } === modified file 'bin/fileset_inc.sh' --- bin/fileset_inc.sh 2013-09-28 23:58:03 +0000 +++ bin/fileset_inc.sh 2013-09-28 20:13:08 +0000 @@ -1,5 +1,5 @@ #!/bin/sh -export fname +export fname dirname die() { printf '%s\\n' \"$*\" exit 1 @@ -26,9 +26,9 @@ rm_flags() { if $f_f; then - rm -f$1 "$fname" || exit $? - elif test -n "$1"; then - rm -$1 "$fname" || exit $? + rm -f$2 "$fname" || exit $? + elif test -n "$2"; then + rm -$2 "$fname" || exit $? else rm "$fname" || exit $? fi @@ -36,7 +36,7 @@ mkdir_p() { if $f_p; then - mkdir -p "$(dirname "$fname")" || exit $? + mkdir -p "$dirname" || exit $? fi } === modified file 'bin/fsapply' --- bin/fsapply 2013-09-28 23:58:03 +0000 +++ bin/fsapply 2013-09-28 20:13:08 +0000 @@ -12,7 +12,7 @@ cd "$1" || exit $? shift if [[ -n "$opt" ]]; then - fileset "$@" | ${FILESET_SHELL:-sh} $opt + fileset "$@" | sh $opt else - fileset "$@" | ${FILESET_SHELL:-sh} + fileset "$@" | sh fi