Preserve /build/{cleanup.sh,buildconfig} files. See #188

This commit is contained in:
Travis Rowland
2017-03-21 03:37:00 -07:00
parent 6216f70411
commit f7bba93be3

View File

@@ -4,7 +4,7 @@ source /bd_build/buildconfig
set -x
apt-get clean
rm -rf /bd_build
ls -d -1 /bd_build/**/* | grep -v "cleanup.sh" | grep -v "buildconfig" | grep -v "services/" | xargs rm -f
rm -rf /tmp/* /var/tmp/*
rm -rf /var/lib/apt/lists/*