Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions makeself-header.sh
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ if test x"\$script" != x; then
fi
fi

cd ".."

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Cleanup Command Navigates Incorrectly

The cd ".." command added before MS_exec_cleanup aims to return to the previous directory, but it actually navigates to the parent directory. This difference can cause the cleanup process to run from an incorrect location, particularly if $tmpdir isn't a direct child of the original working directory or if $tmpdir is the current directory.

Fix in Cursor Fix in Web

MS_exec_cleanup

if test x"\$keep" = xn; then
Expand Down
Loading