mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
27 lines
589 B
Bash
27 lines
589 B
Bash
#!/usr/bin/bash
|
|
|
|
# File is auto-generated by cmake compilation, do not edit.
|
|
|
|
# Ignore the expand_aliases command in zshell.
|
|
if [ ! -n "$ZSH_VERSION" ]; then
|
|
shopt -s expand_aliases
|
|
fi
|
|
|
|
# Map the NuttX-style variable definition 'set <var> <value>' to something that
|
|
# bash and alternatives understand
|
|
set() {
|
|
eval $1=$2
|
|
}
|
|
# alternative method with an alias:
|
|
# alias set='f(){ set -- "$1=$2"; eval "$1"; unset -f f; }; eval f'
|
|
|
|
# Don't stop on errors.
|
|
#set -e
|
|
|
|
# Arguments passed to this script:
|
|
# $1: optional instance id
|
|
px4_instance=0
|
|
[[ -n "$1" ]] && px4_instance=$1
|
|
|
|
${alias_string}
|