Skip to content

Commit

Permalink
Rename spkg-postinstcheck -> spkg-check
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Oct 11, 2023
1 parent 417de39 commit 3c2939a
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build/make/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ $(1)-$(4)-no-deps:
SAGE_SPKG_SCRIPTS=$$($(4))/var/lib/sage/scripts \
SAGE_INST_LOCAL=$$($(4)) \
SAGE_CHECK=$$(SAGE_CHECK_$(1)) \
sage-logger -p '$$(SAGE_ROOT)/build/pkgs/$(1)/spkg-install && if [ $$$$SAGE_CHECK != no -a -x $$(SAGE_ROOT)/build/pkgs/$(1)/spkg-postinstcheck ]; then $$(SAGE_ROOT)/build/pkgs/$(1)/spkg-postinstcheck; fi' '$$(SAGE_LOGS)/$(1)-$(2).log' && \
sage-logger -p '$$(SAGE_ROOT)/build/pkgs/$(1)/spkg-install && if [ $$$$SAGE_CHECK != no -a -x $$(SAGE_ROOT)/build/pkgs/$(1)/spkg-check ]; then $$(SAGE_ROOT)/build/pkgs/$(1)/spkg-check; fi' '$$(SAGE_LOGS)/$(1)-$(2).log' && \
rm -f "$$($(4))/$(SPKG_INST_RELDIR)/$(1)"-* && \
touch "$$($(4))/$(SPKG_INST_RELDIR)/$(1)-$(2)"; \
else ( \
Expand All @@ -759,7 +759,7 @@ $(1)-$(4)-no-deps:
$(1)-no-deps: $(1)-$(4)-no-deps

$(1)-$(4)-check:
$(PLUS)@if [ -x $$(SAGE_ROOT)/build/pkgs/$(1)/spkg-postinstcheck ]; then \
$(PLUS)@if [ -x $$(SAGE_ROOT)/build/pkgs/$(1)/spkg-check ]; then \
cd '$$(SAGE_ROOT)/build/pkgs/$(1)' && \
. '$$(SAGE_ROOT)/src/bin/sage-src-env-config' && \
. '$$(SAGE_ROOT)/src/bin/sage-env-config' && \
Expand All @@ -773,7 +773,7 @@ $(1)-$(4)-check:
SAGE_SPKG_SCRIPTS=$$($(4))/var/lib/sage/scripts \
SAGE_INST_LOCAL=$$($(4)) \
SAGE_CHECK=$$(SAGE_CHECK_$(1)) \
sage-logger -p '$$(SAGE_ROOT)/build/pkgs/$(1)/spkg-postinstcheck' '$$(SAGE_LOGS)/$(1)-$(2).log'; \
sage-logger -p '$$(SAGE_ROOT)/build/pkgs/$(1)/spkg-check' '$$(SAGE_LOGS)/$(1)-$(2).log'; \
fi

$(1)-check: $(1)-$(4)-check
Expand Down
1 change: 1 addition & 0 deletions build/pkgs/sagemath_categories/spkg-check
1 change: 0 additions & 1 deletion build/pkgs/sagemath_categories/spkg-postinstcheck

This file was deleted.

1 change: 1 addition & 0 deletions build/pkgs/sagemath_environment/spkg-check
1 change: 0 additions & 1 deletion build/pkgs/sagemath_environment/spkg-postinstcheck

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions build/pkgs/sagemath_repl/spkg-check
1 change: 0 additions & 1 deletion build/pkgs/sagemath_repl/spkg-postinstcheck

This file was deleted.

0 comments on commit 3c2939a

Please sign in to comment.