🚧 fix path

This commit is contained in:
Vladislav Nepogodin committed 2022-07-13 01:35:21 +04:00
1 parent 3645e87430
commit 30b2123095
1 file changed
+2 -3
+2 -3
View File
@@ -42,8 +42,7 @@ run_safe() {
} }
check_umount() { check_umount() {
if mountpoint -q "$1" if mountpoint -q "$1"; then
then
umount -l "$1" umount -l "$1"
fi fi
} }
@@ -108,7 +107,7 @@ run_build() {
sudo chown $USER $outFolder sudo chown $USER $outFolder
cp ${work_dir}/iso/arch/pkglist.x86_64.txt $outFolder/$(gen_iso_fn).pkgs.txt 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 "Done [Build ISO] ${iso_file}"
msg "Finished building [%s]" "${_profile}" msg "Finished building [%s]" "${_profile}"