From 1200987e8133d41e86b49f93d4700a43510292f6 Mon Sep 17 00:00:00 2001 From: Gorgone Date: Sun, 5 May 2019 14:18:08 +0200 Subject: [PATCH] change custom confdir --- support/functions/_cmd_build | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/support/functions/_cmd_build b/support/functions/_cmd_build index 604edb6..af1723c 100644 --- a/support/functions/_cmd_build +++ b/support/functions/_cmd_build @@ -96,12 +96,11 @@ _cmd_build(){ done; #change default oscam CONF_DIR -if [ ! "$_oscamconfdir_custom" == "not_set" ] && [ ${#_oscamconfdir_custom} -gt 3 ]; then - [ ! "$CUSTOM_CONFDIR" == "not_set" ] && _oscamconfdir_custom=$CUSTOM_CONFDIR; - CONFDIR="$_oscamconfdir_custom"; - echo -e $w_l" | set : "$r_l"custom CONF_DIR=$CONFDIR"$w_l; +if [ ! "$CUSTOM_CONFDIR" == "not_set" ]; then + CONFDIR="$CUSTOM_CONFDIR"; + echo -e $w_l" | set : "$r_l"custom CONF_DIR=$CONFDIR"$w_l; else - CONFDIR="$_oscamconfdir_default"; + CONFDIR="$_oscamconfdir_default"; fi; #patching