diff options
author | Ed Warnicke <hagbard@gmail.com> | 2016-09-19 13:31:25 +0000 |
---|---|---|
committer | Ed Warnicke <hagbard@gmail.com> | 2016-09-19 13:31:25 +0000 |
commit | 8c90bd263a620c340589c4b8019f188ea62223e9 (patch) | |
tree | cc45fc67fdf64c75d44492c6852c324f9ed2fe46 /nsh-plugin | |
parent | adf68681f2b9fa501e66ab2a03fe15415a4939e2 (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-x | nsh-plugin/build.sh | 6 |
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 |