From 794572b0904f069de257811fc5df8c97fac9dfc3 Mon Sep 17 00:00:00 2001 From: Enguerrand de Ribaucourt Date: Tue, 28 May 2024 15:35:58 +0200 Subject: [PATCH] CI: Exit on failure in update-ref.sh If any part of the script failed, it would silently ignore it. These bash options will make it fail on the first error and print the commands as they are executed. --- scripts/update-ref.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 scripts/update-ref.sh diff --git a/scripts/update-ref.sh b/scripts/update-ref.sh old mode 100644 new mode 100755 index ac166bee..3e936026 --- a/scripts/update-ref.sh +++ b/scripts/update-ref.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -ex # Update the fetch-poky.sh script FILE="scripts/fetch-poky.sh"