diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-02-06 10:34:07 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-02-06 10:34:07 -0800 |
commit | bc702b4cc82d6a48a8a9b3e3c979508f84d07aae (patch) | |
tree | d99556b880a4b5b936f3dddfb842e84d1450d2e7 /packaging/rpmlint.wrapper | |
parent | 9003cc746b10667306769b52d9c1be2c6e155814 (diff) | |
download | rpmlint-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.wrapper | 11 |
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 "$@" |