From 41134cc35f111a04868d54e049c8783fd3410be3 Mon Sep 17 00:00:00 2001 From: Charadon Date: Jan 05 2023 02:01:51 +0000 Subject: Fixed clean --- diff --git a/sh2exe.sh b/sh2exe.sh index e057238..9b7a6a9 100644 --- a/sh2exe.sh +++ b/sh2exe.sh @@ -82,16 +82,18 @@ if [ "$1" = "clean" ]; then echo "Cleaning... " rm -rvf "$WORKDIR" || true - rm -rvf "coreutils-*/" || true - rm -rvf "oksh-*/" || true - rm -rvf "nano-*/" || true - rm -rvf "gawk-*/" || true - rm -rvf "grep-*/" || true + rm -rvf "coreutils-$COREUTILS_VERSION/" || true + rm -rvf "oksh-$OKSH_VERSION/" || true + rm -rvf "nano-$NANO_VERSION/" || true + rm -rvf "gawk-$GAWK_VERSION/" || true + rm -rvf "grep-$GREP_VERSION/" || true + rm -rvf "less-$LESS_VERSION/" || true rm -f ./*.tar.?z || true rm -f ./*.7z || true rm -f 7zip.h || true rm -f runtime.h || true rm -f 7zr.exe || true + rm -f *.stackdump cd bin2c make clean cd ..