aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin
diff options
context:
space:
mode:
authorEd Warnicke <hagbard@gmail.com>2016-09-19 13:31:25 +0000
committerEd Warnicke <hagbard@gmail.com>2016-09-19 13:31:25 +0000
commit8c90bd263a620c340589c4b8019f188ea62223e9 (patch)
treecc45fc67fdf64c75d44492c6852c324f9ed2fe46 /nsh-plugin
parentadf68681f2b9fa501e66ab2a03fe15415a4939e2 (diff)
Start building rpms and debs in CI
Change-Id: I880d6bb4848b9d0482c24eae1032d72c537a620e Signed-off-by: Ed Warnicke <hagbard@gmail.com>
Diffstat (limited to 'nsh-plugin')
-rwxr-xr-xnsh-plugin/build.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/nsh-plugin/build.sh b/nsh-plugin/build.sh
index 2acc331..81e75b8 100755
--- a/nsh-plugin/build.sh
+++ b/nsh-plugin/build.sh
@@ -32,5 +32,9 @@ autoreconf -i -f
[ -d ${NSH_INSTALL_PREFIX} ] || mkdir -p ${NSH_INSTALL_PREFIX}
cd build
../configure --prefix ${NSH_INSTALL_PREFIX}
-make V=1 PATH=${PATH}
+if [ $DISTRIB_ID == "CentOS" ]; then
+ make V=1 PATH=${PATH} pkg-rpm
+elif [ $DISTRIB_ID == "Ubuntu" ]; then
+ make V=1 PATH=${PATH} pkg-deb
+fi
${SUDOCMD-sudo} make PATH=${PATH} install