summaryrefslogtreecommitdiff
path: root/auto/build
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2010-09-06 16:24:14 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2010-09-06 16:24:14 +0200
commit9f8aa6da27267d88a115606cb009464ee05b097d (patch)
tree2f8fa19f8306c7682f99587a6e85152f586f2019 /auto/build
parent9cf8c8574e0dc040796c54f5d8f0f5cc04e90d0e (diff)
downloadkanotix-9f8aa6da27267d88a115606cb009464ee05b097d.zip
kanotix-9f8aa6da27267d88a115606cb009464ee05b097d.tar.gz
added build.conf cleanup
Diffstat (limited to 'auto/build')
-rwxr-xr-xauto/build7
1 files changed, 7 insertions, 0 deletions
diff --git a/auto/build b/auto/build
index f46d0fe..beb7814 100755
--- a/auto/build
+++ b/auto/build
@@ -32,6 +32,11 @@ prebuild()
cat config/* 2>/dev/null | grep ^LH_ > config/chroot_local-includes/root/build.conf
}
+postbuild()
+{
+ rm -f config/chroot_local-includes/root/build.conf
+}
+
if [ "$LH_KANOTIX_TMPFS" = "true" ]; then
mkdir -p tmpfs
# build using tmpfs
@@ -44,10 +49,12 @@ if [ "$LH_KANOTIX_TMPFS" = "true" ]; then
# build
prebuild
lh build noauto ${@} 2>&1 | tee binary.log
+ postbuild
cd ..
else
prebuild
lh build noauto ${@} 2>&1 | tee binary.log
+ postbuild
fi
exit 1