Skip to content

Commit 420c14b

Browse files
committed
fix: use correct sed syntax
1 parent 7296b5f commit 420c14b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/build.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ if ! test -f cpython/Doc/conf.py; then
1616
exit 1
1717
fi
1818

19-
pofiles=$(find . -maxdepth 2 -name '*.po' | sort -u | sed -i 's|\./||')
20-
21-
for po in ${pofiles}; do
19+
for po in $(find . -type f -name '*.po' | sort | sed 's|^\./||'); do
2220
install -Dm644 ${po} "cpython/Doc/locales/${LANGUAGE}/LC_MESSAGES/${po}"
2321
done
2422

0 commit comments

Comments
 (0)