summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/stage2.run.in
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-07-10 00:09:01 +0200
committerRobin Gareus <robin@gareus.org>2015-07-10 00:09:01 +0200
commit62d0384b5a3470db85f808d254ef02ba9740fc62 (patch)
treeda206b49f236523c452a97275f8631d1cd91bd8d /tools/linux_packaging/stage2.run.in
parent8af2d08f88c4a9b3faf14f6d46b2ad2cecdc8ada (diff)
ignore ldd warnings version during installation
some selinux systems can be picky
Diffstat (limited to 'tools/linux_packaging/stage2.run.in')
-rwxr-xr-xtools/linux_packaging/stage2.run.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in
index 850776c88e..f3ea8424f1 100755
--- a/tools/linux_packaging/stage2.run.in
+++ b/tools/linux_packaging/stage2.run.in
@@ -351,7 +351,7 @@ LIB_ERROR="F"
LD_PATH=`pwd`/${BUNDLE_DIR}/lib
# check the main App
-LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd ${BUNDLE_DIR}/bin/${PGM_NAME_LOWER}-* 2>&1 > /dev/null)
+LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd ${BUNDLE_DIR}/bin/${PGM_NAME_LOWER}-* 2>&1 > /dev/null | grep -v "no version information")
if [ -n "$LDD_RESULT" ];
then
@@ -364,7 +364,7 @@ LIB_FILES=$(find ${BUNDLE_DIR}/lib -name "*.so")
for path in $LIB_FILES
do
- LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd $path 2>&1 > /dev/null)
+ LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd $path 2>&1 > /dev/null | grep -v "no version information")
if [ -n "$LDD_RESULT" ];
then
echo "$LDD_RESULT"