From: Bruno Haible Date: Mon, 10 Jan 2005 15:57:49 +0000 (+0000) Subject: Fix the CDPATH patch. X-Git-Tag: v0.14.2~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc292e36b96c61ac1f36fc3ec112ae50b576e40a;p=thirdparty%2Fgettext.git Fix the CDPATH patch. --- diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index 8a0323311..92509a468 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,7 @@ +2005-01-05 Bruno Haible + + * gettextize.in: Unset CDPATH in a more robust way. + 2004-12-14 Bruno Haible * gettextize.in: Unset CDPATH. diff --git a/gettext-tools/misc/gettextize.in b/gettext-tools/misc/gettextize.in index 744c45c5b..67d536ac5 100644 --- a/gettext-tools/misc/gettextize.in +++ b/gettext-tools/misc/gettextize.in @@ -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: