aboutsummaryrefslogtreecommitdiff
path: root/scripts/build-packages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build-packages.sh')
-rw-r--r--scripts/build-packages.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build-packages.sh b/scripts/build-packages.sh
index 22a31684..8c111229 100644
--- a/scripts/build-packages.sh
+++ b/scripts/build-packages.sh
@@ -11,8 +11,9 @@ find dists -name Packages.bz2 -delete
# make new Packages files
for dir in dists/*/*/binary-*; do
echo $dir
- dpkg-scanpackages ${dir} /dev/null | gzip -9c > ${dir}/Packages.gz
- dpkg-scanpackages ${dir} /dev/null | bzip2 -9c > ${dir}/Packages.bz2
+ dpkg-scanpackages ${dir} /dev/null > ${dir}/Packages
+ cat ${dir}/Packages | gzip -9c > ${dir}/Packages.gz
+ cat ${dir}/Packages | bzip2 -9c > ${dir}/Packages.bz2
done
for dir in dists/*; do