mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-23 18:32:47 +00:00
findpots.sh: make sure file name prefixes are not added to pots.txt
this was not the case with find applet from busybox 1.22.1 but with 1.23.0 it adds the prefixes by default. make sure they do not get added as it is not desired by using the appropariate argument
This commit is contained in:
parent
d7978bdc4a
commit
7be9b7c60b
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ source "$(dirname $0)/fetch.sh"
|
|||
echo -n > pots.txt
|
||||
for p in ${packs[@]};do
|
||||
echo "Finding POTs in $p..."
|
||||
find "$p" -name Messages.sh -exec grep -o 'podir/.*.pot' {} + | sed 's|podir/||g' >> pots.txt
|
||||
find "$p" -name Messages.sh -exec grep -h -o 'podir/.*.pot' {} + | sed 's|podir/||g' >> pots.txt
|
||||
done
|
||||
|
||||
echo "All done"
|
||||
|
|
Loading…
Add table
Reference in a new issue