commit | 032de6765b75ec44630dc94c23333a9bc2994b69 | [log] [tgz] |
---|---|---|
author | Mitchell Wills <mwills@google.com> | Fri Dec 06 16:47:37 2019 -0800 |
committer | Mitchell Wills <mwills@google.com> | Fri Dec 06 16:55:24 2019 -0800 |
tree | 48d095b8062c86656c1807781c7e156ca73600e6 | |
parent | cfd25567e6ac8c3524558032d4da6db382b79165 [diff] [blame] |
Use bash instead of sh in self extracting archive `echo -n` and `read` seems to not work the same on mac Bug: 130257221 Test: generated an archive using the script and ran the result on linux and mac Change-Id: I129090ccf50781b748bff9a5c7890824d2670ad4
diff --git a/tools/generate-self-extracting-archive.py b/tools/generate-self-extracting-archive.py index 5a193ab..f1bade3 100755 --- a/tools/generate-self-extracting-archive.py +++ b/tools/generate-self-extracting-archive.py
@@ -38,7 +38,7 @@ import os import zipfile -_HEADER_TEMPLATE = """#!/bin/sh +_HEADER_TEMPLATE = """#!/bin/bash # {comment_line} #