Fix clean function to remove directories.
This commit is contained in:
parent
df4ccb0394
commit
7f913acad6
|
@ -138,7 +138,7 @@ let
|
||||||
}
|
}
|
||||||
|
|
||||||
function clean () {
|
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 () {
|
function removePrefix () {
|
||||||
|
|
Loading…
Reference in a new issue