Brian O'Connor | e8468b5 | 2016-07-25 13:42:36 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
Brian O'Connor | 79b7067 | 2016-10-20 13:44:52 -0700 | [diff] [blame] | 3 | PLUGINS=$ONOS_ROOT/bin/plugins |
| 4 | |
| 5 | set -e |
Brian O'Connor | e8468b5 | 2016-07-25 13:42:36 -0700 | [diff] [blame] | 6 | |
| 7 | # Build it first |
Brian O'Connor | 1b55bfb | 2017-03-21 15:30:38 -0700 | [diff] [blame] | 8 | pluginJar=$(NO_BUCKD=1 onos-buck build //tools/build/buck-plugin:onos --no-cache --show-output | grep onos.jar | cut -d\ -f2) |
Brian O'Connor | e8468b5 | 2016-07-25 13:42:36 -0700 | [diff] [blame] | 9 | |
| 10 | # Then install it |
| 11 | mkdir -p $PLUGINS |
| 12 | cp $ONOS_ROOT/$pluginJar $PLUGINS |
| 13 | |
| 14 | ls -l $PLUGINS |