px4-alias.sh_in
483 Bytes
#!/bin/sh
# File is auto-generated by cmake compilation, do not edit.
R="`pwd`/"
# Map the NuttX-style variable definition 'set <var> <value>' to something that
# bash and alternatives understand
# define _set first because sh (POSIX shell) does not like overwriting set directly
_set() {
eval $1=\"$2\"
}
alias set=_set
# 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}