fwupd/po/make-images.sh
maxice8 b6baba5ce3 po/make-images.sh: quote LOCALEDIR and PYTHON3
Allows people to specifiy a white-space separated value for them

Void Linux runs them under qemu-user-static like so

qemu-aarch64-static -L ./usr/aarch64-linux-gnu
./usr/aarch64-linux-gnu/usr/bin/python3
2019-02-25 17:01:50 -06:00

17 lines
396 B
Bash
Executable File

#! /bin/sh
#
# make-images.sh
# Copyright (C) 2017 Peter Jones <pjones@redhat.com>
#
# Distributed under terms of the GPLv2 license.
#
LOCALEDIR="${DESTDIR}$1"
PYTHON3="$2"
install -m 0755 -d $LOCALEDIR
${PYTHON3} ${MESON_SOURCE_ROOT}/po/make-images "Installing firmware update…" $LOCALEDIR ${MESON_SOURCE_ROOT}/po/LINGUAS
for x in ${LOCALEDIR}/*/LC_IMAGES/*.bmp ; do
gzip -fn9 ${x}
done