From 719bfd10730310f3b897dd7f6f0c44d24eb3d19a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Thu, 27 Sep 2018 19:54:09 +0200 Subject: [PATCH] posix-configs: use '.' instead of 'source' 'source' is not POSIX --- posix-configs/SITL/init/test/cmd_template.in | 2 +- posix-configs/SITL/init/test/test_mavlink | 2 +- posix-configs/SITL/init/test/test_template.in | 2 +- posix-configs/SITL/init/test/tests_all | 2 +- posix-configs/bbblue/px4.config | 2 +- posix-configs/bbblue/px4_fw.config | 2 +- posix-configs/bebop/px4.config | 2 +- posix-configs/eagle/200qx/mainapp.config | 2 +- posix-configs/eagle/210qc/mainapp.config | 2 +- posix-configs/eagle/flight/mainapp.config | 2 +- posix-configs/eagle/init/rcS | 2 +- posix-configs/excelsior/mainapp.config | 2 +- posix-configs/ocpoc/px4.config | 2 +- posix-configs/rpi/px4.config | 2 +- posix-configs/rpi/px4_fw.config | 2 +- posix-configs/rpi/px4_hil.config | 2 +- posix-configs/rpi/px4_no_shield.config | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/posix-configs/SITL/init/test/cmd_template.in b/posix-configs/SITL/init/test/cmd_template.in index c856c175b1..d5f06d72c6 100644 --- a/posix-configs/SITL/init/test/cmd_template.in +++ b/posix-configs/SITL/init/test/cmd_template.in @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh uorb start diff --git a/posix-configs/SITL/init/test/test_mavlink b/posix-configs/SITL/init/test/test_mavlink index b6692cdd30..f717960868 100644 --- a/posix-configs/SITL/init/test/test_mavlink +++ b/posix-configs/SITL/init/test/test_mavlink @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh uorb start diff --git a/posix-configs/SITL/init/test/test_template.in b/posix-configs/SITL/init/test/test_template.in index a7c68e92b6..47f84eb9b9 100644 --- a/posix-configs/SITL/init/test/test_template.in +++ b/posix-configs/SITL/init/test/test_template.in @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh uorb start diff --git a/posix-configs/SITL/init/test/tests_all b/posix-configs/SITL/init/test/tests_all index ba27bd95c6..feffce297d 100644 --- a/posix-configs/SITL/init/test/tests_all +++ b/posix-configs/SITL/init/test/tests_all @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh uorb start diff --git a/posix-configs/bbblue/px4.config b/posix-configs/bbblue/px4.config index 2221bac6ee..8b4e4b63c0 100644 --- a/posix-configs/bbblue/px4.config +++ b/posix-configs/bbblue/px4.config @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh # config for a quad # modified from ../rpi/px4.config diff --git a/posix-configs/bbblue/px4_fw.config b/posix-configs/bbblue/px4_fw.config index 51b876870c..ec0c6379fc 100644 --- a/posix-configs/bbblue/px4_fw.config +++ b/posix-configs/bbblue/px4_fw.config @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh # config for fixed wing (FW) # modified from ./px4.config, switch att/pos_control & mixer diff --git a/posix-configs/bebop/px4.config b/posix-configs/bebop/px4.config index 6c146b24ed..b7bfec150a 100644 --- a/posix-configs/bebop/px4.config +++ b/posix-configs/bebop/px4.config @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh uorb start param select /home/root/parameters diff --git a/posix-configs/eagle/200qx/mainapp.config b/posix-configs/eagle/200qx/mainapp.config index 8698c10177..c493b8bbf3 100644 --- a/posix-configs/eagle/200qx/mainapp.config +++ b/posix-configs/eagle/200qx/mainapp.config @@ -2,7 +2,7 @@ # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh uorb start muorb start diff --git a/posix-configs/eagle/210qc/mainapp.config b/posix-configs/eagle/210qc/mainapp.config index 8698c10177..c493b8bbf3 100644 --- a/posix-configs/eagle/210qc/mainapp.config +++ b/posix-configs/eagle/210qc/mainapp.config @@ -2,7 +2,7 @@ # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh uorb start muorb start diff --git a/posix-configs/eagle/flight/mainapp.config b/posix-configs/eagle/flight/mainapp.config index 8698c10177..c493b8bbf3 100644 --- a/posix-configs/eagle/flight/mainapp.config +++ b/posix-configs/eagle/flight/mainapp.config @@ -2,7 +2,7 @@ # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh uorb start muorb start diff --git a/posix-configs/eagle/init/rcS b/posix-configs/eagle/init/rcS index 7bd3c972d3..220712416f 100644 --- a/posix-configs/eagle/init/rcS +++ b/posix-configs/eagle/init/rcS @@ -2,7 +2,7 @@ # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh uorb start muorb start diff --git a/posix-configs/excelsior/mainapp.config b/posix-configs/excelsior/mainapp.config index 20d4f9a31d..6c9c6f717b 100644 --- a/posix-configs/excelsior/mainapp.config +++ b/posix-configs/excelsior/mainapp.config @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh uorb start muorb start diff --git a/posix-configs/ocpoc/px4.config b/posix-configs/ocpoc/px4.config index a1e137ec6e..7d194021ea 100644 --- a/posix-configs/ocpoc/px4.config +++ b/posix-configs/ocpoc/px4.config @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh uorb start diff --git a/posix-configs/rpi/px4.config b/posix-configs/rpi/px4.config index 1a641203a7..a4f4a4c998 100644 --- a/posix-configs/rpi/px4.config +++ b/posix-configs/rpi/px4.config @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh # navio config for a quad uorb start diff --git a/posix-configs/rpi/px4_fw.config b/posix-configs/rpi/px4_fw.config index 5dce1afc4a..6a32cdab74 100644 --- a/posix-configs/rpi/px4_fw.config +++ b/posix-configs/rpi/px4_fw.config @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh # navio config for FW diff --git a/posix-configs/rpi/px4_hil.config b/posix-configs/rpi/px4_hil.config index 6518dab5a1..39269639bd 100644 --- a/posix-configs/rpi/px4_hil.config +++ b/posix-configs/rpi/px4_hil.config @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh # HITL configuration # connect to it with jMAVSim: diff --git a/posix-configs/rpi/px4_no_shield.config b/posix-configs/rpi/px4_no_shield.config index 9ea50cf3aa..3bc9cbeee1 100644 --- a/posix-configs/rpi/px4_no_shield.config +++ b/posix-configs/rpi/px4_no_shield.config @@ -1,7 +1,7 @@ #!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) -source px4-alias.sh +. px4-alias.sh # config for a quad without any shield: # - u-blox GPS connected via UART