Fix own stupid error in previous commit... :/
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 19 Sep 2013 20:27:26 +0000 (20:27 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 19 Sep 2013 20:27:26 +0000 (20:27 +0000)
build_files/build_environment/install_deps.sh

index f35badf36a817ce3f53fe23597fcdef0b116e31c..34cba73d0bfffd215ea761970964078b038c6a49 100755 (executable)
@@ -550,10 +550,10 @@ _create_inst_shortcut() {
 # ldconfig
 run_ldconfig() {
   _lib_path="$INST/$1/lib"
-  _ldonf_path="/etc/ld.so.conf.d/$1.conf"
+  _ldconf_path="/etc/ld.so.conf.d/$1.conf"
   INFO ""
   INFO "Running ldconfig for $1..."
-  sudo sh -c "echo \"$INST/boost/lib\" > /etc/ld.so.conf.d/boost.conf"
+  sudo sh -c "echo \"$_lib_path\" > $_ldconf_path"
   sudo /sbin/ldconfig  # XXX OpenSuse does not include sbin in command path with sudo!!!
   INFO ""
 }