OSDN Git Service

fixed lfbs
authorkokkiemouse <kokkiemouse@gmail.com>
Mon, 21 Sep 2020 23:20:15 +0000 (08:20 +0900)
committerkokkiemouse <kokkiemouse@gmail.com>
Mon, 21 Sep 2020 23:20:15 +0000 (08:20 +0900)
Signed-off-by: kokkiemouse <kokkiemouse@gmail.com>
lfbs

diff --git a/lfbs b/lfbs
index d5cde54..53ccfb2 100755 (executable)
--- a/lfbs
+++ b/lfbs
@@ -662,7 +662,10 @@ if [[ -n "${1}" ]]; then
 fi
 iso_filename="${iso_name}-${codename}-${channel_name}-${locale_name}-$(date +%Y.%m.%d)-${arch}.iso"
 umount_chroot_airootfs
-
+if [[-d "${work_dir}" ]]; then
+    msg_info "deleting work dir..."
+    rm -rf "${work_dir}"
+fi
 prepare_build
 parse_files
 run_once make_basefs