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

Commit

Permalink
m4/sage_spkg_collect.m4: Actually find installation records in SAGE_V…
Browse files Browse the repository at this point in the history
…ENV when that is set implicitly
  • Loading branch information
Matthias Koeppe committed Jul 18, 2022
1 parent 515a785 commit 46a0870
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions m4/sage_spkg_collect.m4
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ AC_DEFUN([SAGE_SPKG_FINALIZE], [dnl
m4_append_uniq_w([SPKG_TREE_VAR], [SAGE_LOCAL])
for treevar in SPKG_TREE_VAR; do
AS_VAR_COPY([t], [$treevar])
dnl SAGE_VENV contains the literal ${SAGE_LOCAL}, eval it
t=$(eval echo $t)
AS_IF([test -n "$t" -a -d "$t/var/lib/sage/installed/" ], [dnl
for f in "$t/var/lib/sage/installed/SPKG_NAME"-*; do
AS_IF([test -r "$f"], [dnl
Expand Down

0 comments on commit 46a0870

Please sign in to comment.