blob: 15cf0e6c29dca177061aeaa35c5583f55e042d12 [file] [log] [blame]
Brian O'Connore8468b52016-07-25 13:42:36 -07001#!/bin/bash
2
Brian O'Connor79b70672016-10-20 13:44:52 -07003PLUGINS=$ONOS_ROOT/bin/plugins
4
5set -e
Brian O'Connore8468b52016-07-25 13:42:36 -07006
7# Build it first
Brian O'Connor1b55bfb2017-03-21 15:30:38 -07008pluginJar=$(NO_BUCKD=1 onos-buck build //tools/build/buck-plugin:onos --no-cache --show-output | grep onos.jar | cut -d\ -f2)
Brian O'Connore8468b52016-07-25 13:42:36 -07009
10# Then install it
11mkdir -p $PLUGINS
12cp $ONOS_ROOT/$pluginJar $PLUGINS
13
14ls -l $PLUGINS