Skip to content

Commit

Permalink
dump log on failure (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
crbaird committed Oct 7, 2016
1 parent 3f9442a commit c458877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/dev-tools/easybuild/SPECS/easybuild.spec
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export EASYBUILD_INSTALLPATH=%{install_path}
export PATH=${LMOD_DIR}:${PATH}
export PYTHON_VERSION=`python -c 'print ".".join(map(str, __import__("sys").version_info[:2]))'`

python ./bootstrap_eb.py %{buildroot}/%{install_path}
python ./bootstrap_eb.py %{buildroot}/%{install_path} || cat "/tmp/eb*/easybuild-EasyBuild-*log"

This comment has been minimized.

Copy link
@boegel

boegel Oct 11, 2016

Contributor

@crbaird for this to work, you'll need to avoid that EB cleans up the temporary directory it creates, by defining $EASYBUILD_DISABLE_CLEANUP_TMPDIR (any value will do)


rm %{buildroot}%{install_path}/modules/base/EasyBuild/%{version}
rm bootstrap_eb.py
Expand Down

0 comments on commit c458877

Please sign in to comment.