Fix clean function to remove directories.

This commit is contained in:
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

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 () {