diff options
author | Mitchell Wills <mwills@google.com> | 2019-12-06 16:47:37 -0800 |
---|---|---|
committer | Mitchell Wills <mwills@google.com> | 2019-12-06 16:55:24 -0800 |
commit | 032de6765b75ec44630dc94c23333a9bc2994b69 (patch) | |
tree | 48d095b8062c86656c1807781c7e156ca73600e6 /tools/generate-self-extracting-archive.py | |
parent | cfd25567e6ac8c3524558032d4da6db382b79165 (diff) |
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
Diffstat (limited to 'tools/generate-self-extracting-archive.py')
-rwxr-xr-x | tools/generate-self-extracting-archive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/generate-self-extracting-archive.py b/tools/generate-self-extracting-archive.py index 5a193ab8ec..f1bade3c86 100755 --- a/tools/generate-self-extracting-archive.py +++ b/tools/generate-self-extracting-archive.py @@ -38,7 +38,7 @@ import sys import os import zipfile -_HEADER_TEMPLATE = """#!/bin/sh +_HEADER_TEMPLATE = """#!/bin/bash # {comment_line} # |