From 3b3c0a44752a41478ba4f0c734beb46fb6a9e216 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Mon, 17 Jul 2017 18:30:10 -0400 Subject: Move vars CONFIG_SHELL,EDITOR,TASKS to libs/common --- libs/common | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs') diff --git a/libs/common b/libs/common index e5b8d504..b1d2f571 100755 --- a/libs/common +++ b/libs/common @@ -43,6 +43,10 @@ ARCHIVE="tar.xz" CHECKSUM="sha256sum" DSIG="asc" +CONFIG_SHELL="${CONFIG_SHELL:-$(which bash)}" +EDITOR="${EDITOR:-$(which vi || true)}" +TASKS="${TASKS:-1}" + function_check() { local function=$1 -- cgit v1.2.3-70-g09d2