Fix LD_LIBRARY_PATH in GNU/Linux startup script
authornickolas360 <nickolas360@users.noreply.github.com>
Fri, 23 Jun 2017 21:03:59 +0000 (14:03 -0700)
committerRobin Gareus <robin@gareus.org>
Tue, 18 Jul 2017 17:11:18 +0000 (19:11 +0200)
commit8bc7154130674b56b568f4cca11b4a2ba22dbf40
tree695dd53d41011f3948f93fde985fb3ae3b9a3bc4
parent81eb619dc2df70609d1ac3b6a87a52746ab27d23
Fix LD_LIBRARY_PATH in GNU/Linux startup script

Currently, the startup script for GNU/Linux adds the current working directory
to LD_LIBRARY_PATH if LD_LIBRARY_PATH is not empty or unset.

For example, if LD_LIBRARY_PATH is set to "/lib" when the current script is
run, it will be set to "<install-dir>/lib::/lib", which includes the current
working directory as one of the paths.

This commit removes the extra colon added to LD_LIBRARY_PATH (without changing
the script's behavior of setting LD_LIBRARY_PATH to an empty string when it is
unset).
tools/linux_packaging/ardour.sh.in