diff options
author | Jonathan Bauer | 2019-08-01 14:56:07 +0200 |
---|---|---|
committer | Jonathan Bauer | 2019-08-01 14:56:07 +0200 |
commit | 11bdf88d37515b1f8d901b7484d7a3e750a6c5c9 (patch) | |
tree | b3405bcece8a98a532bdfef8e97b3e5106f5ef65 /builder/modules.d/slx-tools | |
parent | [dnbd3-rootfs] move scripts to /usr/local/bin (diff) | |
download | systemd-init-11bdf88d37515b1f8d901b7484d7a3e750a6c5c9.tar.gz systemd-init-11bdf88d37515b1f8d901b7484d7a3e750a6c5c9.tar.xz systemd-init-11bdf88d37515b1f8d901b7484d7a3e750a6c5c9.zip |
[slx-tools] fix first time build
Diffstat (limited to 'builder/modules.d/slx-tools')
-rw-r--r-- | builder/modules.d/slx-tools/module-setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builder/modules.d/slx-tools/module-setup.sh b/builder/modules.d/slx-tools/module-setup.sh index 56adde5d..faf2a04f 100644 --- a/builder/modules.d/slx-tools/module-setup.sh +++ b/builder/modules.d/slx-tools/module-setup.sh @@ -10,8 +10,8 @@ build() { cd - &>/dev/null } check() { - if [ ! -x "${moddir}/src/slx-tools" ]; then - build || derror "Failed to build slx-tools" + if [ ! -s "${moddir}/src/slx-tools" ] && ! build; then + derror "Failed to build slx-tools" return 1 fi return 255 |