diff options
author | Juergen Daubert <jue@jue.li> | 2014-11-12 18:31:22 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2014-11-12 18:31:22 +0100 |
commit | 1301d9b5a95da276370e80aedceeccef8c223d18 (patch) | |
tree | 33ac1a657739a3e1aed0ba0595218cd1d07778c8 | |
parent | 32f9b9b7a19a87c0e6bc3caa60c82cc47e0e804c (diff) | |
download | prt-utils-1301d9b5a95da276370e80aedceeccef8c223d18.tar.gz prt-utils-1301d9b5a95da276370e80aedceeccef8c223d18.tar.xz |
findredundantdeps: small optimization of the gawk code
-rw-r--r-- | findredundantdeps | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/findredundantdeps b/findredundantdeps index 06b4ca0..9521977 100644 --- a/findredundantdeps +++ b/findredundantdeps @@ -32,8 +32,8 @@ get_directdeps() /^Dependencies:/ { split($2,a,",") # remove duplicates - for (i in a) b[a[i]]=a[i] - for (i in b) print b[i] + for (i in a) b[a[i]] + for (i in b) print i }' } |