summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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