summaryrefslogtreecommitdiffstats
path: root/pactest
diff options
context:
space:
mode:
Diffstat (limited to 'pactest')
-rwxr-xr-xpactest/pmpkg.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pactest/pmpkg.py b/pactest/pmpkg.py
index cd12717a..b4c30c55 100755
--- a/pactest/pmpkg.py
+++ b/pactest/pmpkg.py
@@ -165,11 +165,12 @@ class pmpkg:
# .FILELIST
if self.files:
os.system("tar cvf /dev/null * | sort >.FILELIST")
+ targets += " .FILELIST *"
else:
#prevent some pacman warnings... I expect a real package would
#always have at least one file...
os.system("touch .FILELIST")
- targets += " .FILELIST *"
+ targets += " .FILELIST"
# Generate package archive
os.system("tar zcf %s %s" % (archive, targets))