We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e3f69b commit d07aa01Copy full SHA for d07aa01
build/bin/sage-spkg
@@ -621,11 +621,11 @@ for script in $WRAPPED_SCRIPTS; do
621
# directory, and may be run later.
622
# For the installed *rm scripts, set their root directory to $SAGE_ROOT.
623
# For the installed check scripts, some need the temporary build directory,
624
- # others don't. So try to run out of the temporary build directory
625
- # but fall back to $SAGE_ROOT.
+ # others are OK with $PKG_SCRIPTS. So try to run out of the temporary
+ # build directory but fall back to the latter.
626
case $script in
627
check) script_dir="$(pwd)"
628
- fallback_script_dir="\$SAGE_ROOT"
+ fallback_script_dir="$PKG_SCRIPTS"
629
;;
630
*rm) script_dir="\$SAGE_ROOT"
631
fallback_script_dir=
0 commit comments