Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Source sage-env before running spkg-install script
Browse files Browse the repository at this point in the history
  • Loading branch information
vbraun committed Dec 19, 2015
1 parent 753f7bc commit 4990f59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -875,12 +875,14 @@ filtered_packages_list all | while read PKG_NAME PKG_VERSION PKG_VAR; do
# Just run the spkg-install script
echo >&7 "$PKG_NAME:$DEPS"
echo >&7 " cd '$SAGE_ROOT' && \\"
echo >&7 " source '$SAGE_ROOT/src/bin/sage-env' && \\"
echo >&7 " sage-logger '$SAGE_ROOT/build/pkgs/$PKG_NAME/spkg-install' \$(SAGE_LOGS)/$PKG_NAME.log"
echo >&7
# Just run the spkg-uninstall script if it exists
echo >&7 "$PKG_NAME-clean:"
echo >&7 " -cd '$SAGE_ROOT' && \\"
echo >&7 " source '$SAGE_ROOT/src/bin/sage-env' && \\"
echo >&7 " '$SAGE_ROOT/build/pkgs/$PKG_NAME/spkg-uninstall'"
echo >&7
else
Expand Down

0 comments on commit 4990f59

Please sign in to comment.