From ae09606437bc6b9c7f75f5dbe1a51cfb988acf68 Mon Sep 17 00:00:00 2001 From: g0t mi1k Date: Tue, 18 May 2021 15:00:46 +0100 Subject: [PATCH] Add full path when deleting --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index a38199c..3191c3e 100755 --- a/build.sh +++ b/build.sh @@ -115,8 +115,8 @@ clean() { run_and_log $SUDO lb clean --purge # Installer - run_and_log $SUDO rm -rfv simple-cdd/tmp - run_and_log $SUDO rm -rfv simple-cdd/debian-cd + run_and_log $SUDO rm -rfv $(pwd)/simple-cdd/tmp + run_and_log $SUDO rm -rfv $(pwd)/simple-cdd/debian-cd } # Allowed command line options