mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
buildiso: Fast fail in case of mkarchiso errors
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
This commit is contained in:
1 parent
ae320574b1
commit
1e5fffd0e0
1 file changed
+2
@@ -9,6 +9,7 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
set -e
|
||||||
src_dir=$(pwd)
|
src_dir=$(pwd)
|
||||||
[[ -r ${src_dir}/util-msg.sh ]] && source ${src_dir}/util-msg.sh
|
[[ -r ${src_dir}/util-msg.sh ]] && source ${src_dir}/util-msg.sh
|
||||||
import ${src_dir}/util.sh
|
import ${src_dir}/util.sh
|
||||||
@@ -75,5 +76,6 @@ for sig in TERM HUP QUIT; do
|
|||||||
done
|
done
|
||||||
trap 'trap_exit INT "$(gettext "Aborted by user! Exiting...")"' INT
|
trap 'trap_exit INT "$(gettext "Aborted by user! Exiting...")"' INT
|
||||||
trap 'trap_exit USR1 "$(gettext "An unknown error has occurred. Exiting...")"' ERR
|
trap 'trap_exit USR1 "$(gettext "An unknown error has occurred. Exiting...")"' ERR
|
||||||
|
trap 'trap_exit EXIT "$(gettext "An unknown error has occurred. Exiting...")"' EXIT
|
||||||
|
|
||||||
run_build "${build_list_iso}"
|
run_build "${build_list_iso}"
|
||||||
Reference in new issue
Block a user