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