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