diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-12-03 00:54:05 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-12-03 00:54:05 +0000 |
commit | 45f401eb8f36bf9b57b2a6ca0b2b8bd74e996b45 (patch) | |
tree | d2cdd4cecf2fc7e8abe30a55933c232a23a688e4 | |
parent | e682ce4a8dc198730ab175cedf7a80a517f81e37 (diff) |
Remove script name from default sedfile (as documented).
-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..." |