From ff2d5edee18efbb7ba2498e5bf8d308c186c4866 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Fri, 2 Mar 2018 20:08:24 +0000 Subject: shellcheck --- export-image/00-allow-rerun/00-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'export-image/00-allow-rerun') diff --git a/export-image/00-allow-rerun/00-run.sh b/export-image/00-allow-rerun/00-run.sh index b77c30e..f7c5b4e 100755 --- a/export-image/00-allow-rerun/00-run.sh +++ b/export-image/00-allow-rerun/00-run.sh @@ -1,5 +1,5 @@ #!/bin/bash -e -if [ ! -x ${ROOTFS_DIR}/usr/bin/qemu-arm-static ]; then - cp /usr/bin/qemu-arm-static ${ROOTFS_DIR}/usr/bin/ +if [ ! -x "${ROOTFS_DIR}/usr/bin/qemu-arm-static" ]; then + cp /usr/bin/qemu-arm-static "${ROOTFS_DIR}/usr/bin/" fi -- cgit v1.2.3