rpmlint-mini/rpmlint.wrapper

13 lines
407 B
Bash

#!/bin/sh
if test -d /opt/testing/lib64; then
LD_LIBRARY_PATH=/opt/testing/lib64
else
LD_LIBRARY_PATH=/opt/testing/lib
fi
PATH="/opt/testing/bin:$PATH"
rpmlintdir="/opt/testing/share/rpmlint"
PYTHONPATH="$rpmlintdir"
LC_ALL=en_US.utf-8
export PYTHONPATH LD_LIBRARY_PATH LC_ALL
exec /opt/testing/bin/python3 -u -O "$rpmlintdir"/rpmlint.pyc -C "$rpmlintdir" -f "$rpmlintdir"/rpmlint-mini.config "$@"