Pack and unpack scripts switched to bash

The "[[ ... ]]" syntax is bash-specific.  Reflect this by changing shbang to "#!/bin/bash".  Many of our dev systems symlink "/bin/sh" to "/bin/bash" which has masked this problem for a long time, but "real" sh fails on "[[".

BUG=none
TEST=rerun

Review URL: http://codereview.chromium.org/2825050
This commit is contained in:
Paul Stewart 2010-07-19 10:37:06 -07:00 committed by Paul Stewart
parent 7ead6c4fa1
commit 90f689c2d3

View File

@ -28,7 +28,7 @@ locate_gpt
TMP=$(mktemp)
$GPT show "$IMAGE" > $TMP
HEADER='#!/bin/sh -eu
HEADER='#!/bin/bash -eu
# File generated by emit_gpt_scripts.sh. Do not edit.
TARGET=${1:-}
if [[ -z "$TARGET" ]]; then