aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin/build.sh
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-07-06 15:23:34 -0700
committerEd Warnicke <eaw@cisco.com>2016-09-07 13:27:27 -0700
commit237944f38b6b08b83dff9dafbf0f7ee3ce9a3752 (patch)
tree03358b48c1fcb6a1ab1b25da5f55e42fd0a14a8e /nsh-plugin/build.sh
parentc8291ef9611e465efd5ada0ff77b1018640b9690 (diff)
jvpp support for nsh
Augment APIs with entry_index for reply, dump and details Squashes: https://gerrit.fd.io/r/#/c/2538/ https://gerrit.fd.io/r/#/c/2118/ https://gerrit.fd.io/r/#/c/1884/ Change-Id: Ibbdc53e2db8ffa5499380f6ce70356c4a401315e Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'nsh-plugin/build.sh')
-rwxr-xr-xnsh-plugin/build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/nsh-plugin/build.sh b/nsh-plugin/build.sh
index aae99c9..86d592b 100755
--- a/nsh-plugin/build.sh
+++ b/nsh-plugin/build.sh
@@ -1,11 +1,11 @@
#!/usr/bin/env bash
NSH_PLUGIN_DIR=$(dirname $0)
-NSH_INSTALL_PREFIX=${NSH_INSTALL_PREFIX:-/usr/local}
+NSH_INSTALL_PREFIX=${NSH_INSTALL_PREFIX:-/usr}
cd ${NSH_PLUGIN_DIR}
autoreconf -i -f
[ -d build ] || mkdir build
[ -d ${NSH_INSTALL_PREFIX} ] || mkdir -p ${NSH_INSTALL_PREFIX}
cd build
../configure --prefix ${NSH_INSTALL_PREFIX}
-make
-sudo make install
+make V=1 PATH=${PATH}
+${SUDOCMD-sudo} make PATH=${PATH} install