diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-20 23:13:30 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-20 23:13:30 -0400 |
commit | 5c7b1e03c1a9a3405608a78c11823048a3f3ea2f (patch) | |
tree | 357ed6eb4d8e78b6abdbcbbaedcc9e77da7344ab /test/testenv | |
parent | ca2b38d5ef1d6e4756b64d2b5a275c9891802f28 (diff) |
fiddle with file locations
I remember now that config.mk's change to ?= was so that xbs Makefiles
could override $(binder). That was stupid.
Diffstat (limited to 'test/testenv')
-rwxr-xr-x | test/testenv | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/testenv b/test/testenv index 847a948..dcc54fa 100755 --- a/test/testenv +++ b/test/testenv @@ -31,15 +31,17 @@ old_pwd="$(pwd)" if [[ -f $0 ]]; then cd "${0%/*}" fi -make -C .. install DESTDIR=$destdir &>/dev/null || { - echo 'error creating local install, cannot run tests' +if ! make -C .. install DESTDIR="$destdir" &>"$TMPDIR/make-output"; then + echo 'error creating local install, cannot run tests' >&2 + cat "$TMPDIR/make-output" exit 1 -} +fi cd "$old_pwd" # Set up the environment export PATH="$destdir/usr/bin:$PATH" export LIBRETOOLS_LIBDIR="$destdir/usr/lib/libretools" +export XBS_LIBDIR="$destdir/usr/lib/xbs" export HOME=$TMPDIR/home export XDG_CACHE_HOME="$HOME/.cache" export XDG_CONFIG_HOME="$HOME/.config" |