Skip to content
Snippets Groups Projects
Commit dcfd0c64 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

Make it also work with the --arch-emulator hack

parent d8ef87ec
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,11 @@ else ...@@ -17,6 +17,11 @@ else
TARGET=`uname -p` TARGET=`uname -p`
fi fi
# Unset the --arch-emulator if flatpak doesn't support it
if [ ! -z "$ARCH_EMU_OPT" ] ; then
flatpak-builder --help | grep -q arch-emulator || ARCH_EMU_OPT=""
fi
echo ========== Building $APPID ================ echo ========== Building $APPID ================
rm -rf app rm -rf app
flatpak-builder $ARCH_OPT $ARCH_EMU_OPT --ccache --require-changes --repo=hello-repo --subject="${APPID} ${VERSION}" ${EXPORT_ARGS-} app $FILE && \ flatpak-builder $ARCH_OPT $ARCH_EMU_OPT --ccache --require-changes --repo=hello-repo --subject="${APPID} ${VERSION}" ${EXPORT_ARGS-} app $FILE && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment