configure: more deseralization & cleanup

Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
This commit is contained in:
Michal Rakowski
2019-09-09 16:08:58 +02:00
parent a904a5bf66
commit 0f2ea7ade7
7 changed files with 23 additions and 8 deletions

View File

@@ -73,10 +73,14 @@ kernel_not_supp_fail() {
# $2 - path to file with valid configs
# $3 - name of processed template file
conf_run() {
local OLD_IFS=$IFS
IFS='?'
case "$1" in
"check") check $2 $3;;
"apply") apply $2 ;;
esac
IFS=$OLD_IFS
}
IFS='?'