Skip to content

Commit

Permalink
run-ethercatmc-ioc.sh: Fix again
Browse files Browse the repository at this point in the history
Add a lost change to make shfmt and shellcheck happy
  • Loading branch information
tboegi committed Mar 8, 2024
1 parent ce26a6c commit 48ee6e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/run-ethercatmc-ioc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ require essioc
require calc
require ethercatmc
EOF
sed <../../test/startup/st.${MOTORCFG}.iocsh \
-e "s/^cd /#cd /" -e 's/^ *< *\([^ ]*\)/iocshLoad("$(ethercatmc_DIR)\1")/g' |
# shellcheck disable=SC2016
sed <../../test/startup/st.${MOTORCFG}.iocsh -e "s/^cd /#cd /" -e 's/^ *< *\([^ ]*\)/iocshLoad("$(ethercatmc_DIR)\1")/g' |
grep -v '^ *#' >>$stcmddst || {
echo >&2 can not create stcmddst $stcmddst
exit 1
Expand Down

0 comments on commit 48ee6e6

Please sign in to comment.