Commit Graph

7 Commits

Author SHA1 Message Date
Nicola Fontana fd772c310c Do not hardcode paths in scripts
Try to reuse the configured paths as much as possible. Unfortunately, to
be able to fully expand some variable (e.g. `bindir`), these files must
be expanded by make, not by configure. This adds some complexity:

https://www.gnu.org/software/automake/manual/html_node/Scripts.html
2021-08-24 17:39:19 +02:00
Florian Pose 9384cc7010 Fixed problems with shell quotes introduced in 66329e1f. 2021-08-24 17:39:06 +02:00
Matthias Schoepfer 1bb6d56fa7 script: run shellcheck on bash / sh scripts
Mostly fixed omitted double quotes, some conversion of $(eval ..) to $(()).
Left the echo -n untouched, shellcheck complains about not being standard in
/bin/sh. Also, seems like some code is dublicated in ethercatctl.in and
init.d/ethercat.in.

Signed-off-by: Matthias Schoepfer <m.schoepfer@rethinkrobotics.com>
2021-08-24 17:37:53 +02:00
Florian Pose 93da3dc16f Respect bashisms. 2021-08-24 16:30:27 +02:00
Florian Pose 99418519bd Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
Florian Pose 28d4117b19 Fixed appending to LOADED_MODULES variable. 2012-01-04 18:05:38 +01:00
Florian Pose 6b45d329ce Added first systemd support. 2012-01-04 18:00:36 +01:00