summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake-initramfs.sh.in2
-rwxr-xr-xperl/run-perl-tests2
-rwxr-xr-xruby/run-ruby-tests2
3 files changed, 4 insertions, 2 deletions
diff --git a/make-initramfs.sh.in b/make-initramfs.sh.in
index 612db905..a9e25bf3 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 1a890fc6..228fb17c 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 9e8908cc..3bf55776 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 "$@"