From 283453b3a5e54d72eed948a56db0c18fb3cc7e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Thu, 18 Jun 2020 11:33:36 +0200 Subject: [PATCH] px4-alias.sh_in: allow for spaces in 'set' alias Required for expressions like: set LOGGER_ARGS "${LOGGER_ARGS} -f" --- platforms/posix/src/px4/common/px4-alias.sh_in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/posix/src/px4/common/px4-alias.sh_in b/platforms/posix/src/px4/common/px4-alias.sh_in index 6480c41027..edf4e576db 100644 --- a/platforms/posix/src/px4/common/px4-alias.sh_in +++ b/platforms/posix/src/px4/common/px4-alias.sh_in @@ -6,7 +6,7 @@ # bash and alternatives understand # define _set first because sh (POSIX shell) does not like overwriting set directly _set() { - eval $1=$2 + eval $1=\"$2\" } alias set=_set # alternative method with an alias: