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 |
|
---|
7 | rm -rf collectedparties
|
---|
8 | mkdir collectedparties
|
---|
9 | VERSION=1.5.2
|
---|
10 |
|
---|
11 | cp "exampleparties/anac2019/agentgg/target/agentgg-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
12 | cp "exampleparties/boulware/target/boulware-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
13 | cp "exampleparties/comparebids/target/comparebids-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
14 | cp "exampleparties/conceder/target/conceder-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
15 | cp "exampleparties/hardliner/target/hardliner-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
16 | cp "exampleparties/linear/target/linear-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
17 | cp "exampleparties/randomparty/target/randomparty-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
18 | cp "exampleparties/randompartypy/target/randompyparty-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
19 | cp "exampleparties/simpleshaop/target/simpleshaop-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
20 | cp "exampleparties/timedependentparty/target/timedependentparty-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
21 | cp "exampleparties/anac2019/winkyagent/target/winkyagent-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
22 | cp "boa/target/boa-${VERSION}-jar-with-dependencies.jar" collectedparties
|
---|
23 |
|
---|
24 | cd 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.