From 62caeca281a086e5fb2f55f569df8baefd4ec9a8 Mon Sep 17 00:00:00 2001 From: Max Pietsch Date: Wed, 10 May 2017 17:50:29 +0100 Subject: [PATCH] package_mrtrix get rid of static warning as scripts trigger it as well --- package_mrtrix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package_mrtrix b/package_mrtrix index 0b81070827..eddf60107d 100755 --- a/package_mrtrix +++ b/package_mrtrix @@ -64,9 +64,7 @@ EOF LIBS=$(for n in bin/*; do ldd $n; done | sed 's/(.*)$//g' | sed 's/^.*=>//g' | sort | uniq | grep -v 'mrtrix\|vdso\|libGL.so\|libEGL.so\|nvidia\|fglrx' | xargs) echo ' libraries identified:' for n in $LIBS; do - if [ ! -e $n ]; then - echo "warning: not all executables have dynamic libraries. Possibly skipping dependent libraries for some commands. This is expected if you built with -static"; - else + if [ -e $n ]; then echo ' '$n; cp $n _package/mrtrix3/lib/ fi