diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2015-10-12 19:31:10 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2015-10-12 19:31:10 +0300 |
commit | 5a98af565f49c37dfe71ed8669ca3ba0e52e8c30 (patch) | |
tree | 98177d981f27a1657ea895e618d61ab2444adcec | |
parent | 5d84ea61efff09a0a4263389bf41e3a6015041c4 (diff) | |
download | dh-illumos-5a98af565f49c37dfe71ed8669ca3ba0e52e8c30.tar.gz |
dh_illumos_gate: do not pack duplicates
-rwxr-xr-x | dh_illumos_gate | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate index 98ea6ef..4a584f3 100755 --- a/dh_illumos_gate +++ b/dh_illumos_gate @@ -199,8 +199,9 @@ if ( $dh{CREATE_ORIG} ) { } } - # We need shell wildcards here, thus complex_doit, not doit: - complex_doit("@tar @ARGV @extra"); + # We need shell wildcards here, thus complex_doit, not doit + # sort - to drop dublicates (lead to hardlinks in the tarball): + complex_doit("find @ARGV @extra -type f | sort -u | @tar -T -"); exit; } elsif ( $dh{CONFIGURE} ) { |