summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-18 20:09:53 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-19 17:18:33 -0800
commit198096e30e6577e03fa27a2dd5046ba3009b5780 (patch)
tree01446dea4c7b3ed5ef9569b98e29be4dc1d0e2f1 /packaging
parent695950b15a3ab272032f7bd4829ba57044735a70 (diff)
downloadsubsurface-198096e30e6577e03fa27a2dd5046ba3009b5780.tar.gz
iOS: adjust GitHub Action to new build format
It's frustrating that I can't get the translation.qrc support the translation files to be created in the build directory. Having them as part of the sources just feels wrong. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/ios/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh
index 55e5e8aac..bd0897c05 100755
--- a/packaging/ios/build.sh
+++ b/packaging/ios/build.sh
@@ -275,9 +275,9 @@ fi
pushd "$SUBSURFACE_SOURCE"/translations
SRCS=$(ls ./*.ts | grep -v source)
popd
-mkdir -p build-ios/translations
+mkdir -p "$SUBSURFACE_SOURCE"/packaging/ios/build-ios/translations
for src in $SRCS; do
- "$IOS_QT"/"$QT_VERSION"/ios/bin/lrelease "$SUBSURFACE_SOURCE"/translations/"$src" -qm build-ios/translations/"${src/.ts/.qm}"
+ "$IOS_QT"/"$QT_VERSION"/ios/bin/lrelease "$SUBSURFACE_SOURCE"/translations/"$src" -qm "$SUBSURFACE_SOURCE"/packaging/ios/build-ios/translations/"${src/.ts/.qm}"
done
# in order to be able to use xcode without going through Qt Creator