Remove source alias#15970
Conversation
3bcac8f to
eeec1da
Compare
|
ehh Now we get NuttX is respecting From what I can tell googling "In the POSIX standard, which /bin/sh is supposed to respect, the command is . (a single dot), not source" Any Ideas? |
|
That works as well in SITL: https://github.com/PX4/Firmware/compare/pr-source-alternative-test
Not sure where to adjust it for NuttX |
eeec1da to
37b98c4
Compare
|
@MaEtUgR @bkueng - thank you for testing and the suggestions.
Given the the POSIX comments, I have gone back to using '.' everywhere with NuttX: R=/ I am in favor of this because it shows the correct intent: "sourc-ing" and "exec-ing" are not the same.
Let's see what breaks now :) We should be able to dump the |
I also tried removing it in the SITL aliases and didn't see any error. Output
|
init.d-posix:rcS Quiet Shell check warning
px4-alias.sh_in:Remove sh alias
891c6e2 to
12da1d8
Compare
|
SITL works as expected now on Arch and Cygwin. Thanks! NuttX fix on Cygwin still pending. I'll have another look at it. |

Per today's dev call and @bkueng #15139 (comment)
Use source for . and a prefix of ${R} set to / for nuttx and ${pwd} for linux