blob: 9dc44d7cd025dd39be5507045508c46e6d57490a [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'Connor79b70672016-10-20 13:44:52 -07008pluginJar=$(NO_BUCKD=1 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