aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-07-17 18:30:10 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-07-18 21:43:22 -0400
commit3b3c0a44752a41478ba4f0c734beb46fb6a9e216 (patch)
tree63ecd37fe92c688146b5ef05d8151ed81e4a8152 /libs
parenta7d5ea15f3f233263eebc9818004bec3a46c1087 (diff)
downloadlibrebootfr-3b3c0a44752a41478ba4f0c734beb46fb6a9e216.tar.gz
librebootfr-3b3c0a44752a41478ba4f0c734beb46fb6a9e216.zip
Move vars CONFIG_SHELL,EDITOR,TASKS to libs/common
Diffstat (limited to 'libs')
-rwxr-xr-xlibs/common4
1 files changed, 4 insertions, 0 deletions
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