From e3c1ebfbde7b83f88a23a522224880c09e95f660 Mon Sep 17 00:00:00 2001 From: Licaon_Kter Date: Thu, 5 Dec 2024 14:21:42 +0000 Subject: [PATCH] fetch-submodules.sh - fail on errors (#17234) ..else if a git clone fails the build carries on with the incomplete assets --- fetch-submodules.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fetch-submodules.sh b/fetch-submodules.sh index c2569c994e..6dbc776159 100755 --- a/fetch-submodules.sh +++ b/fetch-submodules.sh @@ -1,6 +1,8 @@ #! /usr/bin/env bash # vim: set ts=3 sw=3 noet ft=sh : bash +set -e # quit script on error + # TODO: This entire script _should_ be replaced with git submodules, but # that cannot be done until we sort out the limitations of that option. At # this time, this script is called by libretro-super. Revisit the whole