source: collectparties.sh

Last change on this file was 52, checked in by ruud, 21 months ago

Fixed small issues in domaineditor.

  • Property svn:executable set to *
File size: 1.6 KB
Line 
1#!/bin/bash
2
3# this script collects all parties that are standard parties
4# on the partiesserver, and renames the jar-with-dependencies
5# The collected parties are placed in a new directory "collectedparties".
6
7rm -rf collectedparties
8mkdir collectedparties
9VERSION=2.1.6
10
11cp "exampleparties/anac2019/agentgg/target/agentgg-${VERSION}-jar-with-dependencies.jar" collectedparties
12cp "exampleparties/boulware/target/boulware-${VERSION}-jar-with-dependencies.jar" collectedparties
13cp "exampleparties/comparebids/target/comparebids-${VERSION}-jar-with-dependencies.jar" collectedparties
14cp "exampleparties/conceder/target/conceder-${VERSION}-jar-with-dependencies.jar" collectedparties
15cp "exampleparties/hardliner/target/hardliner-${VERSION}-jar-with-dependencies.jar" collectedparties
16cp "exampleparties/linear/target/linear-${VERSION}-jar-with-dependencies.jar" collectedparties
17cp "exampleparties/randomparty/target/randomparty-${VERSION}-jar-with-dependencies.jar" collectedparties
18cp "exampleparties/randompartypy/target/randompyparty-${VERSION}-jar-with-dependencies.jar" collectedparties
19cp "exampleparties/simpleshaop/target/simpleshaop-${VERSION}-jar-with-dependencies.jar" collectedparties
20cp "exampleparties/timedependentparty/target/timedependentparty-${VERSION}-jar-with-dependencies.jar" collectedparties
21cp "exampleparties/anac2019/winkyagent/target/winkyagent-${VERSION}-jar-with-dependencies.jar" collectedparties
22cp "boa/target/boa-${VERSION}-jar-with-dependencies.jar" collectedparties
23
24cd collectedparties
25 for filename in ./*; do mv "./$filename" "./$(echo "$filename" | sed -e 's/-jar-with-dependencies//g')"; done
26
27
Note: See TracBrowser for help on using the repository browser.