From: Vladimir Sokolovsky Date: Sun, 20 Nov 2016 14:33:03 +0000 (+0200) Subject: build.pl: rdma-core use tgz and not tar.gz X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b25c8271acdd80d20cc4a2924476402ba089c1ef;p=~aditr%2Fbuild.git build.pl: rdma-core use tgz and not tar.gz Signed-off-by: Vladimir Sokolovsky --- diff --git a/build.pl b/build.pl index 79c660d..7d594d1 100755 --- a/build.pl +++ b/build.pl @@ -458,6 +458,10 @@ sub get_from_git rmtree $name-$packages{$name}{'version'}; move "$name", "$name-$packages{$name}{'version'}"; + if ($name =~ /rdma-core/) { + $targz = 'tgz'; + } + if (-e "$name-$packages{$package}{'version'}/redhat/rdma-core.spec") { system("/bin/rm -f $name-$packages{$package}{'version'}/redhat/rdma-core.spec"); }