diff options
author | Serge Schneider <[email protected]> | 2018-03-02 20:08:24 +0000 |
---|---|---|
committer | Serge Schneider <[email protected]> | 2018-03-13 12:50:50 +0000 |
commit | ff2d5edee18efbb7ba2498e5bf8d308c186c4866 (patch) | |
tree | 380dd4fb8138fcbcf374839a880deb3191ca0725 /build-docker.sh | |
parent | 56da271499afe7ae8e35a8fd30f04135283b2fb0 (diff) |
shellcheck
Diffstat (limited to 'build-docker.sh')
-rwxr-xr-x | build-docker.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-docker.sh b/build-docker.sh index b683d4b..16d20f5 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -57,7 +57,7 @@ if [ "$CONTAINER_EXISTS" != "" ]; then trap "echo 'got CTRL+C... please wait 5s'; $DOCKER stop -t 5 ${CONTAINER_NAME}_cont" SIGINT SIGTERM time $DOCKER run --rm --privileged \ --volumes-from="${CONTAINER_NAME}" --name "${CONTAINER_NAME}_cont" \ - -e IMG_NAME=${IMG_NAME}\ + -e IMG_NAME="${IMG_NAME}"\ pi-gen \ bash -e -o pipefail -c "dpkg-reconfigure qemu-user-static && cd /pi-gen; ./build.sh; @@ -66,7 +66,7 @@ if [ "$CONTAINER_EXISTS" != "" ]; then else trap "echo 'got CTRL+C... please wait 5s'; $DOCKER stop -t 5 ${CONTAINER_NAME}" SIGINT SIGTERM time $DOCKER run --name "${CONTAINER_NAME}" --privileged \ - -e IMG_NAME=${IMG_NAME}\ + -e IMG_NAME="${IMG_NAME}"\ "${config_file[@]}" \ pi-gen \ bash -e -o pipefail -c "dpkg-reconfigure qemu-user-static && |