ef73d0bb5aa2c063203a8365b128fc01675e1d68
[packetcable.git] / protocol_plugins.packetcable / copy.sh
1 #!/bin/sh
2
3
4 NOW=$(date +"%Y%m%d-%H%M")
5
6 DIRECTORY="../../controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-0.1.1-SNAPSHOT-osgipackage/opendaylight/plugins/"
7 if [ -d "$DIRECTORY" ]; then
8   echo "Copied plugin to  $DIRECTORY"
9   cp target/protocol_plugins.packetcable-0.5.0-SNAPSHOT.jar $DIRECTORY
10 fi
11 DIRECTORY="../../distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins/"
12 if [ -d "$DIRECTORY" ]; then
13   echo "Copied plugin to  $DIRECTORY"
14   cp target/protocol_plugins.packetcable-0.5.0-SNAPSHOT.jar $DIRECTORY
15 fi
16 DIRECTORY="../../plugin.archive/protocol_plugins.packetcable-0.5.0-SNAPSHOT.$NOW.jar"
17 if [ -d "$DIRECTORY" ]; then
18   echo "Copied plugin to  $DIRECTORY"
19   cp target/protocol_plugins.packetcable-0.5.0-SNAPSHOT.jar $DIRECTORY
20 fi
21