Fix clean function to remove directories.

main
Philipp 2021-07-27 20:57:17 +02:00
parent df4ccb0394
commit 7f913acad6
No known key found for this signature in database
GPG Key ID: 2258EE3B85DE1748
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ let
}
function clean () {
find "${prefixBaseDir}" -maxdepth 1 -type d -name ????????????????????????????????-"${binName}" -and -not -wholename "$WINEPREFIX" -delete
find "${prefixBaseDir}" -maxdepth 1 -type d -name ????????????????????????????????-"${binName}" -and -not -wholename "$WINEPREFIX" -exec rm -rf {} \;
}
function removePrefix () {