openSUSE build fix
* Fixed package dependency * Fixed bash unary operation error Change-Id: I782dda8ffd807931241fa6034c110f5fedbeca8e Signed-off-by: Marco Varlese <marco.varlese@suse.com>
This commit is contained in:

committed by
Chris Luke

parent
b66201f761
commit
dc33d4ccb3
@ -72,12 +72,14 @@ fi
|
||||
# Build and install packaging
|
||||
$SUDOCMD make bootstrap
|
||||
|
||||
if [ $DISTRIB_ID == "Ubuntu" ]; then
|
||||
if [ "$DISTRIB_ID" == "Ubuntu" ]; then
|
||||
$SUDOCMD make pkg-deb
|
||||
elif [ $DISTRIB_ID == "debian" ]; then
|
||||
elif [ "$DISTRIB_ID" == "debian" ]; then
|
||||
$SUDOCMD make pkg-deb
|
||||
elif [ $DISTRIB_ID == "CentOS" ]; then
|
||||
elif [ "$DISTRIB_ID" == "CentOS" ]; then
|
||||
(cd $VPP_DIR/vnet ;$SUDOCMD aclocal;$SUDOCMD automake -a)
|
||||
$SUDOCMD make pkg-rpm
|
||||
elif [ "$DISTRIB_ID" == "opensuse" ]; then
|
||||
$SUDOCMD make build-release
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user