qubes-installer-qubes-os/anaconda/tests/accelerators/run_check_accelerators.sh
Marek Marczykowski-Górecki f73b3741f0 Update anaconda to 20.25.16
Apply result of "git diff anaconda-18.37.11-1..anaconda-20.25.16-1" and
resolve conflicts.
2014-04-08 05:50:31 +02:00

23 lines
569 B
Bash

#!/bin/sh
: "${top_srcdir:=$(dirname "$0")/../..}"
srcdir="${top_srcdir}/tests/accelerators"
# If --translate was specified but not --podir, add --podir
i=0
translate_set=0
podir_set=0
for arg in "$@" ; do
if [ "$arg" = "--translate" -o "$arg" = "-t" ]; then
translate_set=1
elif [ "$arg" = "--podir" -o "$arg" = "-p" ]; then
podir_set=1
fi
done
if [ "$translate_set" -eq 1 -a "$podir_set" -eq 0 ]; then
set -- "$@" --podir "${top_srcdir}/po"
fi
find "${top_srcdir}" -name '*.glade' -exec "${srcdir}/check_accelerators.py" "$@" {} +