Conversations/build-fork.sh

18 lines
400 B
Bash
Raw Permalink Normal View History

2019-05-02 03:57:02 +02:00
#!/bin/sh
echo "rename folders"
for folder in $(find -type d -name "siacs"); do
newfolder="$(echo $folder | sed "s/siacs/sum7/")";
echo "$folder -> $newfolder"
mv "$folder" "$newfolder"
done
echo "fix packageing"
for file in $(find -type f -name "*.xml" -or -name "*.java"); do
sed -i "s/eu.siacs./eu.sum7./" "$file"
echo "$file: $?"
done
sed -i "s/eu.siacs./eu.sum7./" "proguard-rules.pro"