From 30b21230950a251584717d65074c8251ee774e4b Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Wed, 13 Jul 2022 01:35:01 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20fix=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util-iso.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/util-iso.sh b/util-iso.sh index 5db833e..4670483 100755 --- a/util-iso.sh +++ b/util-iso.sh @@ -42,8 +42,7 @@ run_safe() { } check_umount() { - if mountpoint -q "$1" - then + if mountpoint -q "$1"; then umount -l "$1" fi } @@ -108,7 +107,7 @@ run_build() { sudo chown $USER $outFolder cp ${work_dir}/iso/arch/pkglist.x86_64.txt $outFolder/$(gen_iso_fn).pkgs.txt - mv "$outFolder/$_profile/cachyos-$(date +%Y.%m.%d)-x86_64.iso" $outFolder/${iso_file} + mv "$outFolder/$_profile/cachyos-$(date +%Y.%m.%d)-x86_64.iso" "$outFolder/$_profile/${iso_file}" msg "Done [Build ISO] ${iso_file}" msg "Finished building [%s]" "${_profile}"