summaryrefslogtreecommitdiff
path: root/slice.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-11 01:51:06 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-11 01:51:06 +0000
commit27a3a0a6071ee204e16a17c0c55b9f785bebf0ea (patch)
tree04ad8ef7a6c374d3a245723c00e9e02ac8cea74f /slice.jam
parentAdd slicer pure feature value to build just the slicer parts, not the raw ice... (diff)
downloadlibdbpp-postgresql-27a3a0a6071ee204e16a17c0c55b9f785bebf0ea.tar.bz2
libdbpp-postgresql-27a3a0a6071ee204e16a17c0c55b9f785bebf0ea.tar.xz
libdbpp-postgresql-27a3a0a6071ee204e16a17c0c55b9f785bebf0ea.zip
Truncate file before slicer as slicer appends
Diffstat (limited to 'slice.jam')
-rw-r--r--slice.jam1
1 files changed, 1 insertions, 0 deletions
diff --git a/slice.jam b/slice.jam
index 00c8d67..bc038c1 100644
--- a/slice.jam
+++ b/slice.jam
@@ -42,6 +42,7 @@ actions slice.slicer
actions slice.slicer.pure
{
+ truncate -c -s 0 $(1[1])
slicer -I"$(INCLUDES)" $(2) $(1[1])
}