summaryrefslogtreecommitdiff
path: root/packaging/rpmlint.wrapper
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-06 10:34:07 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-06 10:34:07 -0800
commitbc702b4cc82d6a48a8a9b3e3c979508f84d07aae (patch)
treed99556b880a4b5b936f3dddfb842e84d1450d2e7 /packaging/rpmlint.wrapper
parent9003cc746b10667306769b52d9c1be2c6e155814 (diff)
downloadrpmlint-mini-bc702b4cc82d6a48a8a9b3e3c979508f84d07aae.tar.gz
rpmlint-mini-bc702b4cc82d6a48a8a9b3e3c979508f84d07aae.tar.bz2
rpmlint-mini-bc702b4cc82d6a48a8a9b3e3c979508f84d07aae.zip
add configuration files
Diffstat (limited to 'packaging/rpmlint.wrapper')
-rw-r--r--packaging/rpmlint.wrapper11
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/rpmlint.wrapper b/packaging/rpmlint.wrapper
new file mode 100644
index 0000000..23705b1
--- /dev/null
+++ b/packaging/rpmlint.wrapper
@@ -0,0 +1,11 @@
+#!/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 "$@"