Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ip: reassembly - return correct value
[vpp.git]
/
extras
/
vagrant
/
build.sh
diff --git
a/extras/vagrant/build.sh
b/extras/vagrant/build.sh
index
3a10e70
..
631b990
100755
(executable)
--- a/
extras/vagrant/build.sh
+++ b/
extras/vagrant/build.sh
@@
-1,4
+1,4
@@
-#!/
bin/
bash
+#!/
usr/bin/env
bash
# Get Command Line arguements if present
VPP_DIR=$1
# Get Command Line arguements if present
VPP_DIR=$1
@@
-32,7
+32,7
@@
echo KERNEL_MACHINE: $KERNEL_MACHINE
echo KERNEL_RELEASE: $KERNEL_RELEASE
echo KERNEL_VERSION: $KERNEL_VERSION
echo OS_ID: $OS_ID
echo KERNEL_RELEASE: $KERNEL_RELEASE
echo KERNEL_VERSION: $KERNEL_VERSION
echo OS_ID: $OS_ID
-echo OS_VERSION_ID: $OS_ID
+echo OS_VERSION_ID: $OS_
VERSION_
ID
# Install dependencies
cd $VPP_DIR
# Install dependencies
cd $VPP_DIR
@@
-66,7
+66,5
@@
elif [ "$OS_ID" == "debian" ]; then
elif [ "$OS_ID" == "centos" ]; then
(cd $VPP_DIR/vnet ;$SUDOCMD aclocal;$SUDOCMD automake -a)
$SUDOCMD make pkg-rpm
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 pkg-rpm
fi
fi