diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-12-03 01:43:12 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-12-03 01:43:12 +0000 |
commit | 4e9a1c0a2ee5e2fc2af5ef974b7bc089dc961b5a (patch) | |
tree | 7fd0afc67c45cafb381c5473c10b489c74c9be67 | |
parent | e2ea84e1b33baca7778169a785d905d268540898 (diff) |
localezmangle: Another error message improvement.
-rwxr-xr-x | localezmangle | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/localezmangle b/localezmangle index 89d1c4f..1164b69 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.4 2002-12-03 01:33:15 jonas Exp $ +# $Id: localezmangle,v 1.5 2002-12-03 01:43:12 jonas Exp $ # # Extract, rename and auto-mangle eZ Publish 2.2.x templates and languages # @@ -46,13 +46,13 @@ origdir=$4 sedrules=`echo $targetname | sed 's/[^_[:alnum:]-]//g'`.sed if [ ! -f $sedrules ]; then - echo "Warning: sed rulesfile \"$sedrules\" not found. Rename only..." + echo "WARNING: sed rulesfile \"$sedrules\" not found. Rename only..." fi if [ -n "$origdir" -a -d "$origdir" ]; then if [ -d "$targetdir" ]; then - echo "ERROR: origdir provided and targetdir exists already" - echo "(avoid providing origdir when updating an existing targetdir)." + echo "ERROR: targetdir exists and origdir provided! (either remove targetdir" + echo "or only update existing targetdir (by not providing origdir option)." echo "Exiting...!" exit 1 fi |