Skip to content
Snippets Groups Projects
Commit de41f8c9 authored by jdh8d's avatar jdh8d
Browse files

Update to avoid error message of path doesn't exist

Former-commit-id: 5c535d3443050e9eed57de16b0e89e0317cdd690
parent 3e879586
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,10 @@ adjust_lib_path()
NEWPATH=
for i in `echo $LD_LIBRARY_PATH | sed 's/:/ /g'`
do
NEWPATH=$NEWPATH:`realpath $i`
alp_newdir=`realpath $i 2> /dev/null`
if [ $? = 0 ] ; then
NEWPATH=$NEWPATH:$alp_newdir
fi
done
......@@ -374,7 +377,7 @@ check_for_bad_funcs()
for ducs_i in $bad_funcs
do
nm $my_name|grep $ducs_i > /dev/null 2> /dev/null
nm $my_name 2>&1 |grep $ducs_i > /dev/null 2> /dev/null
if [ $? = 0 ]; then
echo "Found bad function ($ducs_i) in executable, we should skip this test."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment