From 5d17c6aac3c6a48b8c8bcd906372bcd779751fe3 Mon Sep 17 00:00:00 2001 From: Markus Seeber Date: Thu, 30 Nov 2017 13:28:44 +0100 Subject: 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. --- tools/linux_packaging/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/linux_packaging/build') diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 830b4d2ef7..59294a26de 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -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 -- cgit v1.2.3