Merge pull request #3140 from InuSasha/features/build-root

buildsystem: add possibility to move the build paths outside the git …
This commit is contained in:
MilhouseVH
2020-01-08 15:21:22 +00:00
committed by GitHub
6 changed files with 13 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ clean_package() {
}
if [ "${1}" = "--all" -a -n "${2}" ]; then
for build_dir in $(ls -1d "${ROOT}/build."*); do
for build_dir in $(ls -1d "${BUILD_ROOT}/${BUILD_BASE}."*); do
load_build_config "${build_dir}" && "${SCRIPTS}/clean" "${2}"
done
elif [ -n "${1}" ]; then