Skip to content

Commit

Permalink
- fix newlines in _statistics file
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Dec 14, 2012
1 parent 629be00 commit 181c190
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -2390,11 +2390,13 @@ if test -n "$RUNNING_IN_VM" -a -n "$VM_SWAP"; then
if [ -e /.build/_statistics.df ]; then
echo -n "MAX_mb_used_on_disk: " >> $TOPDIR/OTHER/_statistics
cat /.build/_statistics.df >> $TOPDIR/OTHER/_statistics
echo "" >> $TOPDIR/OTHER/_statistics
rm /.build/_statistics.df
fi
if [ -e /.build/_statistics.memory ]; then
echo -n "MAX_mb_used_memory: " >> $TOPDIR/OTHER/_statistics
cat /.build/_statistics.memory >> $TOPDIR/OTHER/_statistics
echo "" >> $TOPDIR/OTHER/_statistics
rm /.build/_statistics.memory
fi
mount -n sys /sys -t sysfs
Expand Down

0 comments on commit 181c190

Please sign in to comment.