diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2015-10-11 20:20:34 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2015-10-11 20:20:34 +0300 |
commit | 34efdfc56fe3cbbd5144933ff6b4567a080659aa (patch) | |
tree | 8353e3eba3fa7183e90443c52fcc95596ac71c74 | |
parent | e5ac12269637741cefca74d932b3c39ae7149583 (diff) | |
download | dh-illumos-34efdfc56fe3cbbd5144933ff6b4567a080659aa.tar.gz |
dh_illumos_gate: use --exclude-vcs-ignores
-rwxr-xr-x | dh_illumos_gate | 10 |
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'} ) { |