Skip to content

Commit

Permalink
build/bin/sage-spkg: Add missing 'cd'
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Mar 14, 2024
1 parent 48ed5bd commit 3b413e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/bin/sage-spkg
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ cd "\$SAGE_PKG_DIR" 2>/dev/null || cd "$fallback_script_dir"
__EOF__
else
cat >> "$tmpscript" <<__EOF__
cd "\$SAGE_PKG_DIR"
if [ \$? -ne 0 ]; then
echo >&2 "Error: could not cd to the package build directory \$SAGE_PKG_DIR"
exit 1
Expand Down

0 comments on commit 3b413e4

Please sign in to comment.