rpmlint-mini/rpmlint.wrapper

10 lines
277 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
PYTHONPATH=/opt/testing/share/rpmlint
export PYTHONPATH LD_LIBRARY_PATH
exec /opt/testing/bin/python -tt -u -O /opt/testing/share/rpmlint/rpmlint.pyo $*