Brian O'Connor | e8468b5 | 2016-07-25 13:42:36 -0700 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | PLUGINS=$ONOS_ROOT/bucklets/plugins | ||||
4 | |||||
5 | # Build it first | ||||
6 | pluginJar=$(NO_BUCKD=1 buck build //tools/build/buck-plugin:onosjar --no-cache --show-output | grep onosjar.jar | cut -d\ -f2) | ||||
7 | |||||
8 | # Then install it | ||||
9 | mkdir -p $PLUGINS | ||||
10 | cp $ONOS_ROOT/$pluginJar $PLUGINS | ||||
11 | |||||
12 | ls -l $PLUGINS |