diff options
Diffstat (limited to 'localezmangle')
-rwxr-xr-x | localezmangle | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localezmangle b/localezmangle index e39dd74..2be131f 100755 --- a/localezmangle +++ b/localezmangle @@ -3,7 +3,7 @@ # /usr/local/bin/localezmangle # Copyright 2001-2002 Jonas Smedegaard <dr@jones.dk> # -# $Id: localezmangle,v 1.1 2002-12-03 00:50:45 jonas Exp $ +# $Id: localezmangle,v 1.2 2002-12-03 00:54:05 jonas Exp $ # # Extract, rename and auto-mangle eZ Publish 2.2.x templates and languages # @@ -37,7 +37,7 @@ origname=$1 targetname=$2 targetdir=$3 origdir=$4 -sedrules=`basename $prg .sh`.`echo $targetname | sed 's/[^_[:alnum:]-]//g'`.sed +sedrules=`echo $targetname | sed 's/[^_[:alnum:]-]//g'`.sed if [ ! -f $sedrules ]; then echo "Warning: sed rulesfile \"$sedrules\" not found. Rename only..." |