fix gnulib-tool botched merge
authorIan Beckwith <ianb@erislabs.net>
Mon, 3 Feb 2014 01:03:03 +0000 (01:03 +0000)
committerIan Beckwith <ianb@erislabs.net>
Mon, 3 Feb 2014 01:03:03 +0000 (01:03 +0000)
gnulib-tool

index 84be8a7..13aac1a 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# Copyright (C) 2002-2013 Free Software Foundation, Inc.
+# Copyright (C) 2002-2014 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
@@ -899,6 +899,9 @@ if test "X$1" = "X--no-reexec"; then
   shift
 fi
 
+# Unset CDPATH.  Otherwise, output from 'cd dir' can surprise callers.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
 # Command-line option processing.
 # Removes the OPTIONS from the arguments. Sets the variables:
 # - mode            one of: list, find, import, add-import, remove-import,