Fix error when $PATH contains whitespaces

Previously, if $PATH contains whitespaces the startup script would split
the new exported $PATH on the first whitespace. This was observed on an
Ubuntu system where $PATH contained a directory with whitespaces.

The change adds weak quotation around the new path to prevent expansion
of whitespaces. $PATH though, is still expanded.
This commit is contained in:
Markus Seeber 2017-11-30 13:28:44 +01:00
parent c91a7c4263
commit 5d17c6aac3
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ fi
# jack in the places where it might be
#
echo export 'PATH=/usr/local/bin:/opt/bin:$PATH' >> $ENVIRONMENT
echo export 'PATH="/usr/local/bin:/opt/bin:$PATH"' >> $ENVIRONMENT
# create startup helper script
if test -d $BUILD_ROOT/vst; then