Skip to content

Commit

Permalink
Fix sed pipe piping for makepot.sh
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
tobbi committed Oct 17, 2024
1 parent e1010d4 commit d08dac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makepot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ rm -f data/locale/main.pot data/locale/credits.pot data/locale/objects.pot data/
for LEVELSET in $(ls data/levels); do
SCRIPT_FILES=$(find data/levels/$LEVELSET -name "*.nut")
for SCRIPT_FILE in $SCRIPT_FILES; do
name=$(basename ${SCRIPT_FILE}) | sed 's/.nut//g'
name=$(basename ${SCRIPT_FILE} | sed 's/.nut//g')
python tools/extract_strings.py ${SCRIPT_FILE} data/levels/$LEVELSET/scripts_${name}.txt
done
done
Expand Down

0 comments on commit d08dac8

Please sign in to comment.