diff options
author | Daniel Baumann <daniel@debian.org> | 2012-09-30 15:13:42 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-09-30 15:13:42 +0200 |
commit | efe7090bdb45ffa9ab13d54a2c1e4dafd01f10aa (patch) | |
tree | 8627f00aede415926757a4148d8ef0e50f6182c3 /scripts | |
parent | f735d984cfa35ad2e4afc6576bc294691dfdf25f (diff) | |
download | vyos-live-build-efe7090bdb45ffa9ab13d54a2c1e4dafd01f10aa.tar.gz vyos-live-build-efe7090bdb45ffa9ab13d54a2c1e4dafd01f10aa.zip |
Simplyfing clean option in lb config.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/config | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/build/config b/scripts/build/config index 94a176803..db87bc691 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -1492,11 +1492,10 @@ Check_defaults if [ "${_CLEAN}" = "true" ] then # Remove empty directories in config tree + rmdir --ignore-fail-on-non-empty auto > /dev/null 2>&1 || true rmdir --ignore-fail-on-non-empty config/*/ > /dev/null 2>&1 || true rmdir --ignore-fail-on-non-empty config > /dev/null 2>&1 || true - rmdir --ignore-fail-on-non-empty auto > /dev/null 2>&1 || true - rmdir --ignore-fail-on-non-empty local/functions > /dev/null 2>&1 || true - rmdir --ignore-fail-on-non-empty local/scripts > /dev/null 2>&1 || true + rmdir --ignore-fail-on-non-empty local/*/ > /dev/null 2>&1 || true rmdir --ignore-fail-on-non-empty local > /dev/null 2>&1 || true fi |