]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix the CDPATH patch.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Jan 2005 15:57:49 +0000 (15:57 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:58 +0000 (12:11 +0200)
gettext-tools/misc/ChangeLog
gettext-tools/misc/gettextize.in

index 8a0323311a65fc6a172884eb4aa98fa48cbdc15d..92509a468767a5875b72e3874f24948a56c1964f 100644 (file)
@@ -1,3 +1,7 @@
+2005-01-05  Bruno Haible  <bruno@clisp.org>
+
+       * gettextize.in: Unset CDPATH in a more robust way.
+
 2004-12-14  Bruno Haible  <bruno@clisp.org>
 
        * gettextize.in: Unset CDPATH.
index 744c45c5bf1b31a8439ccc1db32206cb7460d69e..67d536ac587cc789e2c6d78413d30da70ccfdd0c 100644 (file)
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# Copyright (C) 1995-1998, 2000-2004 Free Software Foundation, Inc.
+# Copyright (C) 1995-1998, 2000-2005 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -151,7 +151,7 @@ func_fatal_error ()
 }
 
 # Nuisances.
-unset CDPATH
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 # Command-line option processing.
 # Removes the OPTIONS from the arguments. Sets the variables: