summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjosch <j.schauer@email.de>2015-06-02 19:04:13 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-02 20:42:45 +0200
commit9b6187a8eb7dc02dc0d23e9ca9961b5e0168cc5f (patch)
tree59bb13eeb7dabea01429127b44a3720ea7d376cd /bin
parent3331d1aff543dd33f4cdfa70e1d7fad846ffce7f (diff)
downloadjenkins.debian.net-9b6187a8eb7dc02dc0d23e9ca9961b5e0168cc5f.tar.xz
bin/reproducible_create_meta_pkg_sets.sh: be more clean about TMPFILE2
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 752d72b9..e6b7892a 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -14,7 +14,6 @@ ARCH=amd64
# helper functions
packages_list_to_deb822() {
- rm -f ${TMPFILE2}
ALL_PKGS=$(cat $TMPFILE | cut -d ":" -f1 | sed "s#([^()]*)##g ; s#\[[^][]*\]##g ; s#,##g ; s# #\n#g" |sort -u | tr '\n' '|')
grep-dctrl -F Package -e '^('"$ALL_PKGS"')$' $PACKAGES > $TMPFILE
}
@@ -28,6 +27,7 @@ convert_from_deb822_into_source_packages_only() {
-e 'else{$s=~s/\s*([\S]+)\s+.*/\1/;print "$s\n"}}' \
> ${TMPFILE2} < $TMPFILE
sort -u ${TMPFILE2} > $TMPFILE
+ rm ${TMPFILE2}
}
update_target() {