summaryrefslogtreecommitdiff
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
commit2bc601df53299aa94304c1aa1ce2f0e81fcf1ae8 (patch)
tree951332a391762cf451531273944e96b0b5467842
parentGet package versions (diff)
downloadgentoobrowse-api-2bc601df53299aa94304c1aa1ce2f0e81fcf1ae8.tar.bz2
gentoobrowse-api-2bc601df53299aa94304c1aa1ce2f0e81fcf1ae8.tar.xz
gentoobrowse-api-2bc601df53299aa94304c1aa1ce2f0e81fcf1ae8.zip
Truncate file before slicer as slicer appends
-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])
}