OSDN Git Service

[update] : clean work
authorhayao <shun819.mail@gmail.com>
Mon, 10 Aug 2020 00:09:57 +0000 (09:09 +0900)
committerhayao <shun819.mail@gmail.com>
Mon, 10 Aug 2020 00:09:57 +0000 (09:09 +0900)
build.sh

index bbbacd7..54a67cb 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1395,7 +1395,7 @@ if [[ "${channel_name}" = "clean" ]]; then
     remove "${script_path}/menuconfig/build"
        remove "${script_path}/system/cpp-src/mkalteriso/build"
        remove "${script_path}/menuconfig-script/kernel_choice"
-    remove "${work_dir}"
+    remove "${work_dir%/}"/*
     remove "${rebuildfile}"
     remove "${script_path}/temp"
     exit 0