bliss

KISS in Lua
git clone git://bvnf.space/bliss.git
Log | Files | Refs | README | LICENSE

commit 820faf0d72351fc54c301d6e131a657d56ca4673
parent a5187405d948d025aa87693896acf4a2065f04d0
Author: phoebos <ben@bvnf.space>
Date:   Tue, 18 Jul 2023 02:17:16 +0100

utils.setup: add CHOICE and COLOR to env

Diffstat:
Mbliss/utils.lua | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/bliss/utils.lua b/bliss/utils.lua @@ -17,6 +17,8 @@ function setup() CHK = os.getenv("KISS_CHK") or get_available("openssl", "sha256sum", "sha256", "shasum", "digest") or warn("No sha256 utility found"), + CHOICE = tonumber(os.getenv("KISS_CHOICE")) or 1, + COLOR = tonumber(os.getenv("KISS_COLOR")) or 1, COMPRESS= os.getenv("KISS_COMPRESS") or "gz", DEBUG = tonumber(os.getenv("KISS_DEBUG")) or 0, FORCE = tonumber(os.getenv("KISS_FORCE")) or 0,