summaryrefslogtreecommitdiffstats
path: root/extras/vagrant/build.sh
diff options
context:
space:
mode:
authorMarco Varlese <marco.varlese@suse.com>2017-11-29 16:13:04 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-11-30 08:48:49 +0000
commitaba730fc0dc54a804af27a826e730e2bea72183e (patch)
tree021330a73359f286ba1408703841fd7a3f56d0c8 /extras/vagrant/build.sh
parent837503cf66c432355b37db842ac5b0ee37c18085 (diff)
Cleanup and simplify
This patch addresses two things: 1) It simplifies the Makefile to build RPMs by removing duplication and use environment variables instead; 2) It aligns openSUSE with others with regards to invoke "pkg-rpm" by the build.sh for Vagrant Change-Id: I51557f54e4ddf49d83bb69fa0035c8fff122857e Signed-off-by: Marco Varlese <marco.varlese@suse.com>
Diffstat (limited to 'extras/vagrant/build.sh')
-rwxr-xr-xextras/vagrant/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/vagrant/build.sh b/extras/vagrant/build.sh
index d317c31aca6..86ed4cdb184 100755
--- a/extras/vagrant/build.sh
+++ b/extras/vagrant/build.sh
@@ -67,6 +67,6 @@ elif [ "$OS_ID" == "centos" ]; then
(cd $VPP_DIR/vnet ;$SUDOCMD aclocal;$SUDOCMD automake -a)
$SUDOCMD make pkg-rpm
elif [ "$OS_ID" == "opensuse" ]; then
- $SUDOCMD make build-release
+ $SUDOCMD make pkg-rpm
fi