diff options
author | Bruno Haible <bruno@clisp.org> | 2005-01-10 15:57:49 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:11:58 +0200 |
commit | dc292e36b96c61ac1f36fc3ec112ae50b576e40a (patch) | |
tree | 7ab1aac2c1594a0801b327d507baaf5861e67053 | |
parent | 4d58ce5b5d754e9b0071a1b3135be66304685b28 (diff) | |
download | external_gettext-dc292e36b96c61ac1f36fc3ec112ae50b576e40a.zip external_gettext-dc292e36b96c61ac1f36fc3ec112ae50b576e40a.tar.gz external_gettext-dc292e36b96c61ac1f36fc3ec112ae50b576e40a.tar.bz2 |
Fix the CDPATH patch.
-rw-r--r-- | gettext-tools/misc/ChangeLog | 4 | ||||
-rw-r--r-- | gettext-tools/misc/gettextize.in | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index 8a03233..92509a4 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -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. diff --git a/gettext-tools/misc/gettextize.in b/gettext-tools/misc/gettextize.in index 744c45c..67d536a 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: |