From 216baad2b7ceefd47a1052283864b8d1d6d26338 Mon Sep 17 00:00:00 2001 From: arekarchuk Date: Fri, 19 May 2023 15:43:50 +0300 Subject: [PATCH] added return to previous directory before cleanup call https://github.com/megastep/makeself/issues/310#issue-1717189458 --- makeself-header.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/makeself-header.sh b/makeself-header.sh index 20c8c9d..1664465 100755 --- a/makeself-header.sh +++ b/makeself-header.sh @@ -704,6 +704,7 @@ if test x"\$script" != x; then fi fi +cd ".." MS_exec_cleanup if test x"\$keep" = xn; then