From: Alan Somers Date: Mon, 28 Oct 2013 18:26:49 +0000 (-0700) Subject: test: Use portable arguments to /usr/bin/env X-Git-Tag: v0.73~65^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0a1579d84170901672b49655a7aba731d86bc805;p=ceph.git test: Use portable arguments to /usr/bin/env Don't use the "--ignore-environment" option to env. It is a nonstandard GNU extension. The standard version is "-i". Signed-off-by: Alan Somers Signed-off-by: Noah Watkins --- diff --git a/src/test/run-cli-tests b/src/test/run-cli-tests index 321c1de4bb08..fec60dea8891 100755 --- a/src/test/run-cli-tests +++ b/src/test/run-cli-tests @@ -42,7 +42,7 @@ FAILED=0 for tool in "$SRCDIR"/cli/*; do toolname="$(basename "$tool")" install -d -m0755 -- "$BUILDDIR/cli/$toolname" - if ! env --ignore-environment \ + if ! env -i \ PATH="$BUILDDIR_ABS/..:$SRCDIR_ABS/..:$PATH" \ CEPH_CONF=/dev/null \ CCACHE_DIR="$CCACHE_DIR" \