-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Series of presumed trivial suggestions by shellcheck.
- Loading branch information
Showing
23 changed files
with
78 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
rs274 -p ${LIBDIR}/linuxcnc/canterp.so -g canon | awk '{$1=""; print}' | ||
rs274 -p "${LIBDIR}"/linuxcnc/canterp.so -g canon | awk '{$1=""; print}' | ||
exit ${PIPESTATUS[0]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
rm -f gcode-output | ||
|
||
if nc -z localhost 5007; then | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 7 additions & 3 deletions
10
tests/trajectory-planner/circular-arcs/configs/add_hal_symlinks.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
ln -sf ../../../../configs/sim/core_sim.hal | ||
ln -sf ../../../../configs/sim/axis_manualtoolchange.hal | ||
ln -sf ../../../../configs/sim/sim_spindle_encoder.hal | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
ln -sf ../../../../configs/sim/core_sim.hal . | ||
ln -sf ../../../../configs/sim/axis_manualtoolchange.hal . | ||
ln -sf ../../../../configs/sim/sim_spindle_encoder.hal . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#!/bin/bash | ||
set -o nounset # Treat unset variables as an error | ||
set -e | ||
|
||
if [ -a $1 ] | ||
if [ -a "$1" ] | ||
then | ||
awk '/Activate tc/ {print $5,$8,$11,$14}' $1 > segment_data.log | ||
awk '/Activate tc/ {print $5,$8,$11,$14}' "$1" > segment_data.log | ||
fi |
17 changes: 9 additions & 8 deletions
17
tests/trajectory-planner/circular-arcs/util/save_arc_data.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
#!/bin/bash | ||
set -o nounset # Treat unset variables as an error | ||
set -e | ||
|
||
if [ -a $1 ] | ||
if [ -a "$1" ] | ||
then | ||
awk '/tangent angle/ {print $4}' $1 > tangent_data.txt | ||
awk '/tangent angle/ {print $4}' "$1" > tangent_data.txt | ||
fi | ||
|
||
if [ -a $1 ] | ||
if [ -a "$1" ] | ||
then | ||
awk '/circ[12] angle/ {print $4}' $1 > angle_data.txt | ||
awk '/circ[12] angle/ {print $4}' "$1" > angle_data.txt | ||
fi | ||
|
||
if [ -a $1 ] | ||
if [ -a "$1" ] | ||
then | ||
awk '/circ[12] spiral/ {print $4}' $1 > spiral_data.txt | ||
awk '/circ[12] spiral/ {print $4}' "$1" > spiral_data.txt | ||
fi | ||
|
||
if [ -a $1 ] | ||
if [ -a "$1" ] | ||
then | ||
awk '/circ[12] spiral/ {print $4}' $1 > spiral_data.txt | ||
awk '/circ[12] spiral/ {print $4}' "$1" > spiral_data.txt | ||
fi |
5 changes: 3 additions & 2 deletions
5
tests/trajectory-planner/circular-arcs/util/save_tangent_angle.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#!/bin/bash | ||
set -o nounset # Treat unset variables as an error | ||
set -e | ||
|
||
if [ -a $1 ] | ||
if [ -a "$1" ] | ||
then | ||
awk '/tangent angle/ {print $4}' $1 > tangent_data.log | ||
awk '/tangent angle/ {print $4}' "$1" > tangent_data.log | ||
fi |