diff options
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/generic-includes.sh | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/includes/generic-includes.sh b/includes/generic-includes.sh index 97988d5..ac62dd2 100644 --- a/includes/generic-includes.sh +++ b/includes/generic-includes.sh @@ -143,7 +143,7 @@ function copylower  	# usage: copylower source destination  	if [ -d "$1" ]; then  		for filename in $(find "$1" -type f); do -			lowerpath="$(basename $filename |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 | 
