Browse Source

Fix cleanup script

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.0
falkTX 8 months ago
parent
commit
a5c5aaa2c5
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      .cleanup.sh

+ 2
- 1
.cleanup.sh View File

@@ -23,6 +23,7 @@ source setup/env.sh

set -u

echo "Cleaning up build dir..."
rm -rf ${PAWPAW_BUILDDIR}/*/*
rm -rf ${PAWPAW_BUILDDIR}/*/._*
rm -rf ${PAWPAW_BUILDDIR}/*/.hg*
@@ -32,7 +33,7 @@ rm -rf ${PAWPAW_BUILDDIR}/*/.deps
rm -rf ${PAWPAW_BUILDDIR}/*/.libs
rm -rf ${PAWPAW_BUILDDIR}/*/.lock-waf_linux_build

for dir in $(find ${PAWPAW_BUILDDIR} -type d -depth 1); do
for dir in $(find "${PAWPAW_BUILDDIR}" -maxdepth 1 -type d); do
echo "Directory '${dir}' is now clean"
touch ${dir}/.stamp_cleanup
done


Loading…
Cancel
Save