Skip to content

Commit f91c20b

Browse files
author
Matthias Koeppe
committed
build/make/Makefile.in (SCRIPT_PACKAGE_templ): Remove script dir before running spkg-install
1 parent 91b0b83 commit f91c20b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/make/Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,7 @@ $(1)-$(4)-no-deps:
724724
echo "$$($(4)_DISABLED_MESSAGE)" 2>&1; \
725725
exit 1; \
726726
elif [ -x '$$(SAGE_ROOT)/build/pkgs/$(1)/spkg-install' ]; then \
727+
rm -rf '$$($(4))/var/lib/sage/scripts/$(1)'; \
727728
cd '$$(SAGE_ROOT)/build/pkgs/$(1)' && \
728729
. '$$(SAGE_ROOT)/src/bin/sage-src-env-config' && \
729730
. '$$(SAGE_ROOT)/src/bin/sage-env-config' && \

0 commit comments

Comments
 (0)