config: replace cli with direct common_ options

This commit is contained in:
Ciro Santilli
2018-08-09 07:12:20 +01:00
parent 1cb056a995
commit b1bd45684f
14 changed files with 10 additions and 45 deletions

4
common
View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -eu
common_abspath() (
echo "$(cd "$(dirname "$1")"; pwd)/$(basename "$1")"
)
@@ -146,7 +148,7 @@ common_qemu_variant=default
common_run_id=0
common_suffix=
f="${common_data_dir}/cli"
f="${common_data_dir}/config"
if [ -f "$f" ]; then
. "$f"
fi