summaryrefslogtreecommitdiff
path: root/auto/live-build/functions/00_init.sh
blob: 0f0b97cb78444769f6c0868ad4666343bf8d993b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
unset LIVE_BUILD
export LIVE_BUILD
for _FILE in /usr/share/live/build/functions/*.sh auto/functions/*
do
    if [ -e "${_FILE}" ]
    then
        . "${_FILE}"
    fi
done
Set_defaults() {
    # hide this script from the real Set_defaults
    # to make sure that no path is set to this local folder
    mv local local.tmp
    . /usr/share/live/build/functions/defaults.sh
    Set_defaults "@"
    mv local.tmp local
}