diff options
author | Roger Zanoni <rzanoni@igalia.com> | 2021-05-17 11:01:09 +0200 |
---|---|---|
committer | Roger Zanoni <rzanoni@igalia.com> | 2021-05-17 11:01:12 +0200 |
commit | 111aead729f38edee945d371815eb378a963a6c1 (patch) | |
tree | 1e7b439675c420e8da66ceffc0b6ece3c60f17b3 /runchrome.sh | |
parent | 2b75334dbb3846715b55436da35f59b4848afd7d (diff) |
Fix runchrome scriptneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey/11.92.013.93.012.93.012.92.012.91.012.90.112.90.011.92.0
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
Diffstat (limited to 'runchrome.sh')
-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 \ |