File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ CleanupJailSymlinks() {
456456 SAVEDPWD=$( pwd)
457457 cd ${INSTALL_ROOT}
458458 local libdirs=" lib usr/lib"
459- if [ " ${ARCH} " != " MIPS " ]; then
459+ if [ -d lib64 ]; then
460460 libdirs=" ${libdirs} lib64"
461461 fi
462462 find $libdirs -type l -printf ' %p %l\n' | while read link target; do
@@ -483,14 +483,14 @@ CleanupJailSymlinks() {
483483 ;;
484484 esac
485485 done
486- # find $libdirs -type l -printf '%p %l\n' | while read link target; do
487- # # Make sure we catch new bad links.
488- # if [ ! -r "${link}" ]; then
489- # echo "ERROR: FOUND BAD LINK ${link}"
490- # ls -l ${link}
491- # exit 1
492- # fi
493- # done
486+ find $libdirs -type l -printf ' %p %l\n' | while read link target; do
487+ # Make sure we catch new bad links.
488+ if [ ! -r " ${link} " ]; then
489+ echo " ERROR: FOUND BAD LINK ${link} "
490+ ls -l ${link}
491+ # exit 1
492+ fi
493+ done
494494 cd " $SAVEDPWD "
495495}
496496
You can’t perform that action at this time.
0 commit comments