From patchwork Sun Feb 21 22:33:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keith Packard X-Patchwork-Id: 81065 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1LMZ8v5018477 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 21 Feb 2010 22:35:47 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NjKMw-0002Qw-7j; Sun, 21 Feb 2010 22:33:42 +0000 Received: from sfi-mx-2.v28.ch3.sourceforge.com ([172.29.28.122] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NjKMv-0002Qn-HQ; Sun, 21 Feb 2010 22:33:41 +0000 X-ACL-Warn: Received: from home.keithp.com ([63.227.221.253] helo=keithp.com) by sfi-mx-2.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1NjKMt-0007kD-BY; Sun, 21 Feb 2010 22:33:41 +0000 Received: from localhost (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id 18BC6760433; Sun, 21 Feb 2010 14:33:30 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from keithp.com ([127.0.0.1]) by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gRxZ+Plms0hD; Sun, 21 Feb 2010 14:33:27 -0800 (PST) Received: by keithp.com (Postfix, from userid 1033) id 3832076021B; Sun, 21 Feb 2010 14:33:27 -0800 (PST) Received: from koto.keithp.com (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id 30FE97601BC; Sun, 21 Feb 2010 14:33:27 -0800 (PST) Received: by koto.keithp.com (Postfix, from userid 1488) id D0A7111C028; Sun, 21 Feb 2010 14:33:26 -0800 (PST) From: Keith Packard To: mesa3d-dev@lists.sourceforge.net Subject: [PATCH] bin/mklib: Clear CDPATH to avoid damaging expand_archive output Date: Sun, 21 Feb 2010 14:33:25 -0800 Message-Id: <1266791605-22944-1-git-send-email-keithp@keithp.com> X-Mailer: git-send-email 1.6.6.1 X-Spam-Score: -0.3 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.3 AWL AWL: From: address is in the auto white-list X-Headers-End: 1NjKMt-0007kD-BY Cc: Keith Packard , dri-devel@lists.sourceforge.net X-BeenThere: dri-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.sourceforge.net X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sun, 21 Feb 2010 22:35:47 +0000 (UTC) diff --git a/bin/mklib b/bin/mklib index 06e8029..7f22725 100755 --- a/bin/mklib +++ b/bin/mklib @@ -25,6 +25,10 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# Clear CDPATH as the 'cd' command will echo stuff +# to stdout if it is set +unset CDPATH + # Given a list of files, look for .a archives and unpack them. # Return the original list of files minus the .a files plus the unpacked files. # first param: name of a temp directory (to be deleted when finished)