Browse Source

Fix using _oscamconfdir_custom variable

on cmd_build this variable handling was different fom gui_build
pull/45/head
WXbet 5 years ago
parent
commit
6347687c6c
  1. 7
      support/functions/_cmd_build

7
support/functions/_cmd_build

@ -123,10 +123,11 @@ _cmd_build(){
done done
#change default oscam CONF_DIR #change default oscam CONF_DIR
if [ ! "$CUSTOM_CONFDIR" == "not_set" ] oc_size=${#_oscamconfdir_custom}
if [ "$oc_size" -gt "4" ]
then then
CONFDIR="$CUSTOM_CONFDIR" CONFDIR="$_oscamconfdir_custom"
printf $w_l" | set : "$r_l"custom CONF_DIR=$CONFDIR"$w_l printf "$y_l\n | set :$r_l custom CONF_DIR=$CONFDIR$w_l"
else else
CONFDIR="$_oscamconfdir_default" CONFDIR="$_oscamconfdir_default"
fi fi

Loading…
Cancel
Save