X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=build%2Fbuild_ovs_rpm.sh;h=0eb6478513946a37cde756a4fa5512a6755ba6b8;hb=7c2256520e31ea61e8f567b1f4baa3fa88fea5a4;hp=53e87455c9cb6b2d2b9fbdb979918dfd4d4765f0;hpb=3cbd2b676181af1aafe7286862042466e124f995;p=ovsnfv.git diff --git a/build/build_ovs_rpm.sh b/build/build_ovs_rpm.sh index 53e8745..0eb6478 100755 --- a/build/build_ovs_rpm.sh +++ b/build/build_ovs_rpm.sh @@ -148,12 +148,12 @@ if [ ! -z $DPDK ]; then cd $TMPDIR/ovs git checkout $snapgit echo "--------------------------------------------" - echo "Creating archive, $archive using copr script" + echo "Creating snapshot, $archive with name same as in spec file." echo snapser=`git log --pretty=oneline | wc -l` basever=`grep AC_INIT configure.ac | cut -d' ' -f2 | cut -d, -f1` - prefix=openvswitch-${basever}-${snapser}.git${snapgit} - archive=$prefix.tar.gz + prefix=openvswitch-${basever} + archive=openvswitch-${basever}.tar.gz git archive --prefix=${prefix}/ HEAD | gzip -9 > $RPMDIR/SOURCES/${archive} cd $TMPDIR/openvswitch echo "--------------------------------------------"