]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Bail out if gettext is not correctly installed.
authorBruno Haible <bruno@clisp.org>
Wed, 21 Feb 2001 12:48:00 +0000 (12:48 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 21 Feb 2001 12:48:00 +0000 (12:48 +0000)
misc/ChangeLog
misc/gettextize.in

index 58a5ae017dbf5af8bc7dae41969b4c5245cc29b5..aefb0d14a87b1a93a4f28911487406711c3a64c1 100644 (file)
@@ -1,3 +1,7 @@
+2001-02-10  Bruno Haible  <haible@clisp.cons.org>
+
+       * gettextize.in: Bail out if $gettext_dir doesn't exist.
+
 2001-02-07  Bruno Haible  <haible@clisp.cons.org>
 
        * gettextize.in: Fix bug in 2000-12-08 patch.
index 70550f4f46b8664036d6f2f1006d77763edb65a6..89a06a3ce5acfbf6f43e72698a49c1870ea2acf0 100644 (file)
@@ -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