summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2015-10-12 19:31:10 +0300
committerIgor Pashev <pashev.igor@gmail.com>2015-10-12 19:31:10 +0300
commit5a98af565f49c37dfe71ed8669ca3ba0e52e8c30 (patch)
tree98177d981f27a1657ea895e618d61ab2444adcec
parent5d84ea61efff09a0a4263389bf41e3a6015041c4 (diff)
downloaddh-illumos-5a98af565f49c37dfe71ed8669ca3ba0e52e8c30.tar.gz
dh_illumos_gate: do not pack duplicates
-rwxr-xr-xdh_illumos_gate5
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} ) {