mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
px4-alias.sh_in: allow for spaces in 'set' alias
Required for expressions like:
set LOGGER_ARGS "${LOGGER_ARGS} -f"
This commit is contained 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:
|
||||
|
||||
Reference in New Issue
Block a user