summaryrefslogtreecommitdiff
path: root/localezmangle
diff options
context:
space:
mode:
Diffstat (limited to 'localezmangle')
-rwxr-xr-xlocalezmangle8
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