From 7369df504db9441b3def7c55d72608fad5c67290 Mon Sep 17 00:00:00 2001 From: zawz Date: Thu, 5 May 2022 11:52:52 +0200 Subject: [PATCH] fix(build): fix NOSUDO minify on build --- Makefile | 2 +- server_scripts/gen_install.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5e942a0..144544e 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ build: scripts/shcompile src/main.sh > zpkg && chmod +x zpkg # minimized build with lxsh -var_exclude = TMPDIR ZPKG_.* _ZPKG_.* SSH_ADDRESS HTTP_ADDRESS PKG_PATH COMPRESSION ALLOW_ROOT UPDATE_REMOVE +var_exclude = TMPDIR ZPKG_.* _ZPKG_.* SSH_ADDRESS HTTP_ADDRESS PKG_PATH COMPRESSION ALLOW_ROOT UPDATE_REMOVE NOSUDO minimal: minimal-deploy minimal-deploy: minimal-build diff --git a/server_scripts/gen_install.sh b/server_scripts/gen_install.sh index 2aa722b..094adfd 100755 --- a/server_scripts/gen_install.sh +++ b/server_scripts/gen_install.sh @@ -10,6 +10,7 @@ echo '#!/bin/sh cat .zpkgconfig >> install.sh # body echo ' +[ "$DEBUG" = true ] && set -x [ -z "$TMPDIR" ] && TMPDIR=/tmp