diff options
| author | Serge Schneider <serge@raspberrypi.org> | 2018-03-02 20:08:24 +0000 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.org> | 2018-03-13 12:50:50 +0000 |
| commit | ff2d5edee18efbb7ba2498e5bf8d308c186c4866 (patch) | |
| tree | 380dd4fb8138fcbcf374839a880deb3191ca0725 /stage3 | |
| parent | 56da271499afe7ae8e35a8fd30f04135283b2fb0 (diff) | |
shellcheck
Diffstat (limited to 'stage3')
| -rwxr-xr-x | stage3/01-tweaks/00-run.sh | 2 | ||||
| -rwxr-xr-x | stage3/prerun.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stage3/01-tweaks/00-run.sh b/stage3/01-tweaks/00-run.sh index f64961c..5da7c1a 100755 --- a/stage3/01-tweaks/00-run.sh +++ b/stage3/01-tweaks/00-run.sh @@ -1,3 +1,3 @@ #!/bin/bash -e -rm -f ${ROOTFS_DIR}/etc/systemd/system/dhcpcd.service.d/wait.conf +rm -f "${ROOTFS_DIR}/etc/systemd/system/dhcpcd.service.d/wait.conf" diff --git a/stage3/prerun.sh b/stage3/prerun.sh index ebb5d35..9acd13c 100755 --- a/stage3/prerun.sh +++ b/stage3/prerun.sh @@ -1,5 +1,5 @@ #!/bin/bash -e -if [ ! -d ${ROOTFS_DIR} ]; then +if [ ! -d "${ROOTFS_DIR}" ]; then copy_previous fi |
