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 34e7470..3ec9e20 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.6 2002-12-03 02:05:13 jonas Exp $ +# $Id: localezmangle,v 1.7 2002-12-05 20:56:10 jonas Exp $ # # Extract, rename and auto-mangle eZ Publish 2.2.x templates and languages # @@ -68,7 +68,7 @@ else fi # rename origname to targetname (ignored on multiple runs) -for x in `cd $targetdir && find * -name "*$origname*"`; do +for x in `cd $targetdir && find * | grep "$origname"`; do mv $targetdir/$x $targetdir/`echo $x | sed "s $origname $targetname g"` done |