summaryrefslogtreecommitdiffstats
path: root/build/build_ovs_rpm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/build_ovs_rpm.sh')
-rwxr-xr-xbuild/build_ovs_rpm.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/build_ovs_rpm.sh b/build/build_ovs_rpm.sh
index 3c8b12e..0972dd9 100755
--- a/build/build_ovs_rpm.sh
+++ b/build/build_ovs_rpm.sh
@@ -88,7 +88,12 @@ function apply_nsh_patches() {
fi
git clone https://github.com/yyang13/ovs_nsh_patches.git
cp $TMPDIR/ovs_nsh_patches/*.patch $RPMDIR/SOURCES
- cp $BUILDDIR/patches/ovs_nsh_patches/*.spec $BUILDDIR
+ cd $TMPDIR
+ if [ -e buildovsnsh ]; then
+ rm -rf buildovsnsh
+ fi
+ git clone https://github.com/tfherbert/buildovsnsh.git
+ cp buildovsnsh/*.spec $BUILDDIR
}
VERSION=2.3.90