diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-03 12:14:25 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-03 12:20:29 +0300 |
commit | 5ea6545ad576bcc3ea107d351fda3c3909651c61 (patch) | |
tree | b65d593502a20db4be86ae133a5dc4198cb3edc9 | |
parent | 9be138bf639644230116caf8098d60d2d24a4dee (diff) |
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.
-rwxr-xr-x | build_files/build_environment/install_deps.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 "" |