Updating auto/scripts handling.
This commit is contained in:
parent
8488808879
commit
8c155c17c8
|
@ -12,4 +12,4 @@ PACKAGE="live-build"
|
|||
VERSION="2.0~a28-1"
|
||||
CONFIG_VERSION="$(echo ${VERSION} | awk -F- '{ print $1 }')"
|
||||
|
||||
PATH="${PWD}/auto/helpers:${PATH}"
|
||||
PATH="${PWD}/auto/scripts:${PATH}"
|
||||
|
|
|
@ -226,7 +226,7 @@ Set_defaults ()
|
|||
LB_TEMPLATES="${LB_BASE}/templates"
|
||||
fi
|
||||
|
||||
# Setting live helper options
|
||||
# Setting live build options
|
||||
_BREAKPOINTS="${_BREAKPOINTS:-false}"
|
||||
_COLOR="${_COLOR:-false}"
|
||||
_DEBUG="${_DEBUG:-false}"
|
||||
|
|
|
@ -1288,6 +1288,7 @@ LB_SOURCE_IMAGES="${LB_SOURCE_IMAGES}"
|
|||
EOF
|
||||
|
||||
mkdir -p auto/functions
|
||||
mkdir -p auto/scripts
|
||||
|
||||
if [ "${CONFIG}" = "clone" ] # FIXME
|
||||
then
|
||||
|
@ -1354,6 +1355,11 @@ then
|
|||
rmdir --ignore-fail-on-non-empty auto/functions
|
||||
fi
|
||||
|
||||
if [ -d auto/scripts]
|
||||
then
|
||||
rmdir --ignore-fail-on-non-empty auto/scripts
|
||||
fi
|
||||
|
||||
if [ -d auto ]
|
||||
then
|
||||
rmdir --ignore-fail-on-non-empty auto
|
||||
|
|
Loading…
Reference in New Issue