From 41299dc71d28b6ce06790faba97be45f3f46df41 Mon Sep 17 00:00:00 2001 From: Albert Graef <aggraef@gmail.com> Date: Fri, 2 Apr 2021 10:07:00 +0200 Subject: [PATCH] tar_em_up.sh: Add some extra checks to prevent build failures on some architectures. --- l2ork_addons/tar_em_up.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh index 3ac2a883a..b97053ae6 100755 --- a/l2ork_addons/tar_em_up.sh +++ b/l2ork_addons/tar_em_up.sh @@ -378,10 +378,17 @@ then if [ $inno -eq 0 -a $dmg -eq 0 -a $light -eq 0 ]; then cd raspberry_pi ./makeall.sh + # these don't seem to be built on some newer ARM architectures + # for some reason, so check to make sure that we actually have + # them before trying to install + if [ -f disis_gpio/disis_gpio.pd_linux ]; then cp -f disis_gpio/disis_gpio.pd_linux ../../packages/linux_make/build$inst_dir/lib/pd-l2ork/extra cp -f disis_gpio/disis_gpio-help.pd ../../packages/linux_make/build$inst_dir/lib/pd-l2ork/extra + fi + if [ -f disis_spi/disis_spi.pd_linux ]; then cp -f disis_spi/disis_spi.pd_linux ../../packages/linux_make/build$inst_dir/lib/pd-l2ork/extra cp -f disis_spi/disis_spi-help.pd ../../packages/linux_make/build$inst_dir/lib/pd-l2ork/extra + fi cd ../ fi -- GitLab