From 407dba807f014fb6c7e3fabb8c178edb74c6b9be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruair=C3=AD=20=C3=93=20Fathaigh?= Date: Sun, 7 May 2023 17:17:57 +0000 Subject: [PATCH] Fix build of listmonk executable on arm64 and armhf --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 7b8c74b..c45a44b 100755 --- a/scripts/install +++ b/scripts/install @@ -46,13 +46,15 @@ if [ $YNH_ARCH == "armhf" ] || [ $YNH_ARCH == "arm64" ] then ynh_setup_source --dest_dir="$install_dir/build" pushd "$install_dir/build" + # Change to sources directory + cd listmonk-* # Build the sources ynh_use_go export GOPATH="$install_dir/build/go" export GOCACHE="$install_dir/build/.cache" ynh_use_nodejs make dist - mv listmonk .. + mv listmonk ../../ popd ynh_remove_go ynh_remove_nodejs