diff options
author | josch <j.schauer@email.de> | 2015-06-02 19:04:13 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-02 20:42:45 +0200 |
commit | 9b6187a8eb7dc02dc0d23e9ca9961b5e0168cc5f (patch) | |
tree | 59bb13eeb7dabea01429127b44a3720ea7d376cd /bin | |
parent | 3331d1aff543dd33f4cdfa70e1d7fad846ffce7f (diff) | |
download | jenkins.debian.net-9b6187a8eb7dc02dc0d23e9ca9961b5e0168cc5f.tar.xz |
bin/reproducible_create_meta_pkg_sets.sh: be more clean about TMPFILE2
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_create_meta_pkg_sets.sh | 2 |
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() { |