diff options
author | Ed Warnicke <hagbard@gmail.com> | 2016-09-19 13:31:25 +0000 |
---|---|---|
committer | Ed Warnicke <hagbard@gmail.com> | 2016-10-04 22:18:12 +0000 |
commit | 45fec8fd68f6b65784670fe079f1c0a8d332b405 (patch) | |
tree | f11d28677d00aa9383cb2b5da6304159113ab164 /nsh-plugin | |
parent | 2ee7b37b1d2eadedeafb6a8d24b1b2a8c0cea236 (diff) |
Start building rpms and debs in CI
Change-Id: I880d6bb4848b9d0482c24eae1032d72c537a620e
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
(cherry picked from commit 8c90bd263a620c340589c4b8019f188ea62223e9)
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 |