summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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} ) {