diff --git a/tools/zpak b/tools/zpak index ce72b0c1a..2bb7c54ee 100755 --- a/tools/zpak +++ b/tools/zpak @@ -1,4 +1,4 @@ -#! /bin/bash +#! /bin/sh # create pak files with gzipped internals if [ $# -eq 0 ]; then @@ -18,7 +18,7 @@ for pakfile in $*; do # cosmetic (gzip preserves timestamps.. could come in handy) find * -type f \ - -exec touch {} -r ${pakfile} \; + -exec touch -r ${pakfile} {} \; find * -type f \ ! -name '*.gz' ! -name '*.jpg' ! -name '*.ogg' ! -name '*.png' \