mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2024-12-27 03:42:39 +00:00
20a6ba1dc3
/ = Local scripts ci = Remote scripts (run by workflow) util = Utilities
11 lines
263 B
Bash
Executable File
11 lines
263 B
Bash
Executable File
#!/bin/sh
|
|
PATTERN="Passepartout/App/iOS/fastlane/metadata/*/description.txt"
|
|
AFTER=$1
|
|
NAME=$2
|
|
DELIMITER="†"
|
|
|
|
for FILE in `ls $PATTERN`; do
|
|
sed -E "s/${AFTER}/${AFTER}${DELIMITER}- ${NAME}/g" $FILE | tr $DELIMITER '\n' >$FILE.tmp
|
|
mv $FILE.tmp $FILE
|
|
done
|