aboutsummaryrefslogtreecommitdiff
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
parenta7d5ea15f3f233263eebc9818004bec3a46c1087 (diff)
downloadlibrebootfr-3b3c0a44752a41478ba4f0c734beb46fb6a9e216.tar.gz
librebootfr-3b3c0a44752a41478ba4f0c734beb46fb6a9e216.zip
Move vars CONFIG_SHELL,EDITOR,TASKS to libs/common
-rwxr-xr-xlibreboot4
-rwxr-xr-xlibs/common4
2 files changed, 4 insertions, 4 deletions
diff --git a/libreboot b/libreboot
index 9cb069e7..1c7cb7a2 100755
--- a/libreboot
+++ b/libreboot
@@ -187,10 +187,6 @@ libreboot_setup_variables() {
VBOOT_KEYS_PATH="${VBOOT_KEYS_PATH:-${vboot_tools_path}/devkeys/}"
fi
- CONFIG_SHELL="${CONFIG_SHELL:-$(which bash)}"
- EDITOR="${EDITOR:-$(which vi || true)}"
- TASKS="${TASKS:-1}"
-
libreboot_setup_reproducible_builds_variables
}
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