Skip to content

Commit

Permalink
#2121: Fix W_OPT_NOCLEAN usage (#2125)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnab-gib-se authored Dec 30, 2023
1 parent 6aa1f25 commit ac14c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -4969,7 +4969,7 @@ winetricks_cleanup()
fi
test "${WINETRICKS_CACHE_SYMLINK}" && rm -f "${WINETRICKS_CACHE_SYMLINK}"

if [ "${W_OPT_NOCLEAN}" = 1 ]; then
if [ -z "${W_OPT_NOCLEAN}" ]; then
rm -rf "${WINETRICKS_WORKDIR}"
rm -rf "${W_TMP_EARLY}"
rm -rf "${WINEPREFIX}/wrapper.cfg"
Expand Down

0 comments on commit ac14c2f

Please sign in to comment.