From 032de6765b75ec44630dc94c23333a9bc2994b69 Mon Sep 17 00:00:00 2001 From: Mitchell Wills Date: Fri, 6 Dec 2019 16:47:37 -0800 Subject: 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 --- tools/generate-self-extracting-archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/generate-self-extracting-archive.py') 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} # -- cgit v1.2.3-59-g8ed1b