mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 17:11:34 +02:00
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:
parent
7ead6c4fa1
commit
90f689c2d3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user