Update build.sh
This commit is contained in:
parent
758fa79fe5
commit
769b9b6ae5
6
build.sh
6
build.sh
@ -26,9 +26,9 @@ topdir=`pwd`
|
|||||||
|
|
||||||
for dir in `find /etc/lixonet/* -type d -maxdepth 0`
|
for dir in `find /etc/lixonet/* -type d -maxdepth 0`
|
||||||
do
|
do
|
||||||
dir=${dir%*/} # remove the trailing "/"
|
export dir=${dir%*/} # remove the trailing "/"
|
||||||
netname=${dir##*/} # print everything after the final "/"
|
export netname=${dir##*/} # print everything after the final "/"
|
||||||
config_out="/etc/lixonet/${netname}/.config"
|
export config_out="/etc/lixonet/${netname}/.config"
|
||||||
|
|
||||||
# Load relevant environment variables from lixonet.conf
|
# Load relevant environment variables from lixonet.conf
|
||||||
unset git
|
unset git
|
||||||
|
Loading…
x
Reference in New Issue
Block a user