diff options
author | Roger Zanoni <rzanoni@igalia.com> | 2021-05-17 11:01:09 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2021-05-25 15:53:55 +0200 |
commit | aee023df6393cce68e815d81d74e3da5d3b73a9e (patch) | |
tree | 7f4e271e28e12f5acbf5a6e383e60256688aeba0 | |
parent | 33646fcf00177a750c4b9c7ef124bc22d130afa2 (diff) |
Fix runchrome scriptkoi_11.0.5koi_11.0.4koi_11.0.3koi_11.0.2koi/11.0.5koi/11.0.4koi/11.0.3koi/11.0.211.0.511.0.411.0.311.0.2koi
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 <rzanoni@igalia.com>
Change-Id: Ica463a9560b4ac56647034c4b1750f40ed2e6b1c
-rw-r--r-- | runchrome.sh | 3 |
1 files changed, 1 insertions, 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 \ |