[Bf-blender-cvs] [5ea6545ad57] master: Fix library link errors after building with install_deps.sh on Ubuntu
Brecht Van Lommel
noreply at git.blender.org
Tue Sep 3 11:20:48 CEST 2019
Commit: 5ea6545ad576bcc3ea107d351fda3c3909651c61
Author: Brecht Van Lommel
Date: Tue Sep 3 11:14:25 2019 +0200
Branches: master
https://developer.blender.org/rB5ea6545ad576bcc3ea107d351fda3c3909651c61
Fix library link errors after building with install_deps.sh on Ubuntu
On some systems this would use the builtin echo command without support for
the -e option.
Thanks Alexander Gavrilov for helping find this.
===================================================================
M build_files/build_environment/install_deps.sh
===================================================================
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh
index ab8c2254251..f594add3a5b 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -1114,7 +1114,7 @@ run_ldconfig() {
WARNING "--no-sudo enabled, impossible to run ldconfig for $1, you'll have to do it yourself..."
else
INFO "Running ldconfig for $1..."
- $SUDO sh -c "echo -e \"$_lib_path\n$_lib64_path\" > $_ldconf_path"
+ $SUDO sh -c "/bin/echo -e \"$_lib_path\n$_lib64_path\" > $_ldconf_path"
$SUDO /sbin/ldconfig # XXX OpenSuse does not include sbin in command path with sudo!!!
fi
PRINT ""
More information about the Bf-blender-cvs
mailing list