rpmlint-mini/rpmlint.wrapper
OBS User autobuild 7bd87f6bd7 Accepting request 30232 from Base:System
Copy from Base:System/rpmlint-mini based on submit request 30232 from user lnussel

OBS-URL: https://build.opensuse.org/request/show/30232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint-mini?expand=0&rev=29
2010-01-27 17:29:21 +00:00

12 lines
378 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"
export PYTHONPATH LD_LIBRARY_PATH
exec /opt/testing/bin/python -tt -u -O "$rpmlintdir"/rpmlint.pyo -C "$rpmlintdir" -f "$rpmlintdir"/rpmlint-mini.config "$@"