summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-02-09 21:28:57 +0000
committerNick White <git@njw.me.uk>2010-02-09 21:28:57 +0000
commitcc27a0985ce6450acadc9f67920d3f02a0136431 (patch)
treeefebb96e7ff01a0c152c0a6d444f3f872c54fb22 /includes
parented2ed75a25b367f53ed57c77be31b1ee9c76501f (diff)
downloadgemrb-gameinstallers-cc27a0985ce6450acadc9f67920d3f02a0136431.tar.bz2
gemrb-gameinstallers-cc27a0985ce6450acadc9f67920d3f02a0136431.zip
Fix bug causing extra install content to not copy to correct directories
Diffstat (limited to 'includes')
-rw-r--r--includes/generic-includes.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/generic-includes.sh b/includes/generic-includes.sh
index 22024c8..9f3a0db 100644
--- a/includes/generic-includes.sh
+++ b/includes/generic-includes.sh
@@ -149,7 +149,7 @@ function copylower
if [ -d "$1" ]; then
for filename in $(find "$1" -type f); do
- lowerpath="$(echo $filename|gawk -F '$1' '{print $2}'|tr A-Z a-z)"
+ lowerpath="$(echo $filename|gawk -F $1 '{print $2}'|tr A-Z a-z)"
cp -f "$filename" "${2}/${lowerpath}" || die
done
elif [ -f "$1" ]; then