From: Bruno Haible Date: Wed, 21 Feb 2001 12:48:00 +0000 (+0000) Subject: Bail out if gettext is not correctly installed. X-Git-Tag: v0.10.36~146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cb388bcbcf5e657108f70d0df5b007b341ddb11;p=thirdparty%2Fgettext.git Bail out if gettext is not correctly installed. --- diff --git a/misc/ChangeLog b/misc/ChangeLog index 58a5ae017..aefb0d14a 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,7 @@ +2001-02-10 Bruno Haible + + * gettextize.in: Bail out if $gettext_dir doesn't exist. + 2001-02-07 Bruno Haible * gettextize.in: Fix bug in 2000-12-08 patch. diff --git a/misc/gettextize.in b/misc/gettextize.in index 70550f4f4..89a06a3ce 100644 --- a/misc/gettextize.in +++ b/misc/gettextize.in @@ -135,7 +135,10 @@ test -d po || mkdir po || { } # For simplicity we changed to the gettext source directory. -cd $gettext_dir +cd $gettext_dir || { + $echo "gettext source directory '${gettext_dir}' doesn't exist" + exit 1 +} # Now copy all files. Take care for the destination directories. for file in *; do