Fixed a bug in build.sh. Find was operating on the wrong path.

This commit is contained in:
Storm Dragon 2020-01-05 12:32:23 -05:00
parent e0a2d503d7
commit 31724629b2

View File

@ -213,7 +213,7 @@ git clone -b $(git branch | grep \* | cut -f2 -d \ ) --recurse-submodules https:
# Copy in the files.
cp -Rv /tmp/stormux/files/files/* "${workdir}/root/" |& log
# Generate translations:
find /tmp/stormux/locales -type f -iname '*.po' -exec bash -c '
find /tmp/stormux/files/locales -type f -iname '*.po' -exec bash -c '
for i ; do
# i is in file, o is outfile.
language="$(grep "^\"Language: .*\\n" "${i}" | cut -d " " -f2 | cut -d "\\" -f1)"