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

Commit

Permalink
build/make/Makefile.in [SCRIPT_PACKAGE_templ]: cd into the SPKG direc…
Browse files Browse the repository at this point in the history
…tory; adjust spkg-install scripts
  • Loading branch information
Matthias Koeppe committed Jun 4, 2020
1 parent 0e66a0a commit df3f05e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build/make/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -574,15 +574,15 @@ endif
# $(3): package dependencies
define SCRIPT_PACKAGE_templ
$$(INST)/$(1)-$(2): $(3)
$(AM_V_at)cd '$$(SAGE_ROOT)' && \
$(AM_V_at)cd '$$(SAGE_ROOT)/build/pkgs/$(1)' && \
. '$$(SAGE_ROOT)/src/bin/sage-env' && . '$$(SAGE_ROOT)/build/bin/sage-build-env-config' && \
sage-logger -p '$$(SAGE_ROOT)/build/pkgs/$(1)/spkg-install' '$$(SAGE_LOGS)/$(1).log'
touch "$$@"

$(1): $$(INST)/$(1)-$(2)

$(1)-clean:
-$(AM_V_at)cd '$$(SAGE_ROOT)' && \
-$(AM_V_at)cd '$$(SAGE_ROOT)/build/pkgs/$(1)' && \
. '$$(SAGE_ROOT)/src/bin/sage-env' && . '$$(SAGE_ROOT)/build/bin/sage-build-env-config' && \
'$$(SAGE_ROOT)/build/pkgs/$(1)/spkg-uninstall'
-rm -f "$$(INST)/$(1)-$(2)"
Expand Down
2 changes: 1 addition & 1 deletion build/pkgs/sage_conf/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ if [ $? -ne 0 ]; then
echo >&2 "Is $SAGE_ROOT the correct SAGE_ROOT?"
exit 1
fi
cd $SAGE_ROOT/build/pkgs/sage_conf/src && sdh_pip_install .
cd src && sdh_pip_install .
2 changes: 1 addition & 1 deletion build/pkgs/texlive/spkg-install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
exec sage-python23 build/pkgs/texlive/spkg-install.py
exec sage-python23 spkg-install.py

0 comments on commit df3f05e

Please sign in to comment.