diff options
author | Daniel Baumann <daniel@debian.org> | 2010-09-13 21:49:20 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:22 +0100 |
commit | 8c155c17c800e24c771a79f5c8ee433ac4fd9f3e (patch) | |
tree | f3772fff4ac37ac11c25576995c64ef464f010f3 | |
parent | 8488808879696e9bf97b7f5d4304dccaa5d0ae54 (diff) | |
download | live-build-8c155c17c800e24c771a79f5c8ee433ac4fd9f3e.zip live-build-8c155c17c800e24c771a79f5c8ee433ac4fd9f3e.tar.gz |
Updating auto/scripts handling.
-rwxr-xr-x | functions/common.sh | 2 | ||||
-rwxr-xr-x | functions/defaults.sh | 2 | ||||
-rwxr-xr-x | scripts/build/lb_config | 6 |
3 files changed, 8 insertions, 2 deletions
diff --git a/functions/common.sh b/functions/common.sh index d11dec1..1c221d1 100755 --- a/functions/common.sh +++ b/functions/common.sh @@ -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}" diff --git a/functions/defaults.sh b/functions/defaults.sh index b9b475f..193d59b 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -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}" diff --git a/scripts/build/lb_config b/scripts/build/lb_config index afb6935..487d81c 100755 --- a/scripts/build/lb_config +++ b/scripts/build/lb_config @@ -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 |