From 89f060b5cfecc11558174b7e0b3867f2b8d9c135 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 20 Apr 2009 21:16:25 +0100 Subject: [PATCH] Fixes for CDPATH being set. --- make-initramfs.sh.in | 2 ++ perl/run-perl-tests | 2 +- ruby/run-ruby-tests | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/make-initramfs.sh.in b/make-initramfs.sh.in index 612db90..a9e25bf 100755 --- a/make-initramfs.sh.in +++ b/make-initramfs.sh.in @@ -20,6 +20,8 @@ set -e +unset CDPATH + # If you want to do some extra debugging and diagnosis of the # initramfs image, then uncomment this line. This makes the image # larger. diff --git a/perl/run-perl-tests b/perl/run-perl-tests index 1a890fc..228fb17 100755 --- a/perl/run-perl-tests +++ b/perl/run-perl-tests @@ -17,5 +17,5 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. export LD_LIBRARY_PATH=../src/.libs -export LIBGUESTFS_PATH=$(cd .. && pwd) +export LIBGUESTFS_PATH=$(cd .. > /dev/null && pwd) make -f Makefile-pl test "$@" diff --git a/ruby/run-ruby-tests b/ruby/run-ruby-tests index 9e8908c..3bf5577 100755 --- a/ruby/run-ruby-tests +++ b/ruby/run-ruby-tests @@ -17,6 +17,6 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. export LD_LIBRARY_PATH=../src/.libs -export LIBGUESTFS_PATH=$(cd .. && pwd) +export LIBGUESTFS_PATH=$(cd .. > /dev/null && pwd) rake test "$@" -- 1.8.3.1