mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-25 18:12:14 -05:00
30 lines
479 B
Plaintext
Executable File
30 lines
479 B
Plaintext
Executable File
set -x
|
|
rm -rf bc-packaged
|
|
tar -hczf bc-project.tar.gz bc-project/
|
|
|
|
mkdir t
|
|
cd t
|
|
tar xzf ../bc-project.tar.gz
|
|
rm ../bc-project.tar.gz
|
|
|
|
cd bc-project
|
|
find . -type f -name "*.java" -print0 | xargs -0 sed -i '' 's/org.bouncycastle/org.bc/g'
|
|
|
|
for DIR in $(find . -type d -name "bouncycastle")
|
|
do
|
|
pushd $DIR
|
|
cd ..
|
|
mv bouncycastle bc
|
|
popd
|
|
done
|
|
|
|
cd ..
|
|
|
|
mv bc-project ../bc-packaged
|
|
cd ..
|
|
|
|
rmdir t
|
|
cp bc-packaged-template/.* bc-packaged
|
|
cp bc-packaged-template/* bc-packaged
|
|
|