From 7f913acad6afb1487bd38682b9a4b18fcbec1d11 Mon Sep 17 00:00:00 2001 From: Philipp Date: Tue, 27 Jul 2021 20:57:17 +0200 Subject: [PATCH] Fix clean function to remove directories. --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 6de4db4..d513767 100644 --- a/default.nix +++ b/default.nix @@ -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 () {