anki/qt/i18n/copy-qt-files
evandrocoan 47ccd6638d Added -o pipefail to all set -e ensuring the build fails when some
operation with pipe exits error status.

# Conflicts:
#	Makefile
2020-02-24 20:18:56 -03:00

10 lines
224 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
out=../aqt_data/locale/qt
mkdir -p $out
qtTranslations=$(python -c "from PyQt5.QtCore import *; print(QLibraryInfo.location(QLibraryInfo.TranslationsPath))")
rsync -a $qtTranslations/qt* $out