From e56072ea9691f21b19ca2490e04df553f98251aa Mon Sep 17 00:00:00 2001 From: hayao Date: Sun, 4 Oct 2020 00:08:00 +0900 Subject: [PATCH] [update] : Remove useless functions --- allarch.sh | 7 +------ build.sh | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/allarch.sh b/allarch.sh index 04e79509..17c9e465 100755 --- a/allarch.sh +++ b/allarch.sh @@ -258,11 +258,6 @@ load_config() { done } -# 作業ディレクトリを削除 -remove_work() { - remove "${work_dir}" -} - # Display channel list show_channel_list() { if [[ "${nochkver}" = true ]]; then @@ -1460,6 +1455,6 @@ if [[ "${tarball}" = true ]]; then done fi [[ "${noiso}" = false ]] && run_once make_iso -[[ "${cleaning}" = true ]] && remove_work +[[ "${cleaning}" = true ]] && remove "${work_dir}" exit 0 diff --git a/build.sh b/build.sh index 03385696..91cb1db0 100755 --- a/build.sh +++ b/build.sh @@ -248,11 +248,6 @@ load_config() { done } -# 作業ディレクトリを削除 -remove_work() { - remove "${work_dir}" -} - # Display channel list show_channel_list() { if [[ "${nochkver}" = true ]]; then @@ -1517,6 +1512,6 @@ run_once make_efiboot [[ "${tarball}" = true ]] && run_once make_tarball [[ "${noiso}" = false ]] && run_once make_iso -[[ "${cleaning}" = true ]] && remove_work +[[ "${cleaning}" = true ]] && remove "${work_dir}" exit 0 -- 2.11.0