From: Richard Jones Date: Mon, 20 Apr 2009 20:16:25 +0000 (+0100) Subject: Fixes for CDPATH being set. X-Git-Tag: 1.0.4~1 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=89f060b5cfecc11558174b7e0b3867f2b8d9c135;p=libguestfs.git Fixes for CDPATH being set. --- 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 "$@"