summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2015-10-11 20:20:34 +0300
committerIgor Pashev <pashev.igor@gmail.com>2015-10-11 20:20:34 +0300
commit34efdfc56fe3cbbd5144933ff6b4567a080659aa (patch)
tree8353e3eba3fa7183e90443c52fcc95596ac71c74
parente5ac12269637741cefca74d932b3c39ae7149583 (diff)
downloaddh-illumos-34efdfc56fe3cbbd5144933ff6b4567a080659aa.tar.gz
dh_illumos_gate: use --exclude-vcs-ignores
-rwxr-xr-xdh_illumos_gate10
1 files changed, 7 insertions, 3 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate
index cdf9906..c364b46 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -152,9 +152,13 @@ if ( $dh{CREATE_ORIG} ) {
my $tarball = "$cwd/../${source}_${source_version}.orig.tar.xz";
my $transform = "s,.*usr/src,$source-$source_version/usr/src,";
my @tar = (
- 'tar', '-c', '-J', '--owner=0',
- '--group=0', '--mode', 'u=rwX,go=rX', '--transform',
- "'$transform'", '-f', "'$tarball'", @tar_X
+ 'tar', '-c',
+ '-J', '--exclude-vcs',
+ '--exclude-vcs-ignores', '--owner=0',
+ '--group=0', '--mode',
+ 'u=rwX,go=rX', '--transform',
+ "'$transform'", '-f',
+ "'$tarball'", @tar_X
);
my @extra = ();
if ( $dh{'BUILD'} ) {