From 260f57174877d606b553a80a19f59b3ac202429d Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Tue, 20 Aug 2019 16:30:18 +0100
Subject: [PATCH] build-relocatable-install: Make sure header row is at the
 beginning

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 build-relocatable-install.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build-relocatable-install.py b/build-relocatable-install.py
index 1bd87dac0..e15fd88d4 100755
--- a/build-relocatable-install.py
+++ b/build-relocatable-install.py
@@ -450,6 +450,7 @@ def main():
             writer.write(
                 '#Package[:Architecture]\t#Version\t#Source\t#Installed-Size\n'
             )
+            writer.flush()
             v_check_call([
                 'dpkg-query',
                 '-W',
-- 
GitLab