summaryrefslogtreecommitdiffstats
path: root/build/build_ovs_rpm.sh
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2016-02-29 22:25:24 -0500
committerThomas F Herbert <therbert@redhat.com>2016-03-01 09:06:46 -0500
commit7c2256520e31ea61e8f567b1f4baa3fa88fea5a4 (patch)
treee05f06a1cda5d5f06cf628ce44fe6d07de01f802 /build/build_ovs_rpm.sh
parent3cbd2b676181af1aafe7286862042466e124f995 (diff)
OVS Archive file name changed.
Change message to call archive snapshot Change-Id: Ia07f6e38e2108f061dd616aa393cd4d98d7e8f11 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'build/build_ovs_rpm.sh')
-rwxr-xr-xbuild/build_ovs_rpm.sh6
1 files changed, 3 insertions, 3 deletions
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 "--------------------------------------------"