From 111aead729f38edee945d371815eb378a963a6c1 Mon Sep 17 00:00:00 2001 From: Roger Zanoni Date: Mon, 17 May 2021 11:01:09 +0200 Subject: Fix runchrome script If the shebang isn't in the first line the script's mime type is interpreted as text/plain and it is prevented from running with this error message: "runchrome: Exec format error" Bug-AGL: SPEC-3830 Signed-off-by: Roger Zanoni Change-Id: Ica463a9560b4ac56647034c4b1750f40ed2e6b1c --- runchrome.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runchrome.sh b/runchrome.sh index 5e6d3c5..3aa24d1 100644 --- a/runchrome.sh +++ b/runchrome.sh @@ -1,3 +1,4 @@ +#!/bin/sh # Copyright 2021 Igalia, S.L. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,8 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -#!/bin/sh - PORT=$1 exec /opt/chromium84/chrome \ -- cgit 1.2.3-korg