Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Fix ldconfig setup during PBI execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Mar 31, 2014
1 parent ba26cef commit b9ee7c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src-sh/pbi-manager/pbime/ldconfig
Expand Up @@ -41,6 +41,7 @@ ldconfig_start()
_LDC="${_LDC} ${i}"
fi
done
_LDC=`echo $_LDC | sed "s|/usr/local|${PBI_RUNDIR}/local|g"`
check_startmsgs && echo 'ELF ldconfig path:' ${_LDC}
${ldconfig} -elf ${_ins} -f ${ldconfig_file} ${_LDC}

Expand All @@ -62,6 +63,7 @@ ldconfig_start()
done
check_startmsgs &&
echo '32-bit compatibility ldconfig path:' ${_LDC}
_LDC=`echo $_LDC | sed "s|/usr/local|${PBI_RUNDIR}/local|g"`
${ldconfig} -32 -m ${_ins} -f ${ldconfig32_file} ${_LDC}
;;
esac
Expand Down

0 comments on commit b9ee7c2

Please sign in to comment.