Commit Graph

10 Commits

Author SHA1 Message Date
Florian Pose b68abbfb04 Merge branch 'dehardcode-paths' into 'stable-1.5'
Do not hardcode paths in scripts

See merge request etherlab.org/ethercat!28
2021-07-22 13:27:06 +00:00
Florian Pose 83468705b2 Fixed problems with shell quotes introduced in 66329e1f. 2021-07-22 15:06:17 +02:00
Nicola Fontana 4c8ffd9a57 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-07-22 14:40:03 +02:00
Matthias Schoepfer 66329e1fe1 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-07-05 14:51:16 +02:00
Florian Pose 1016e8a75e Respect bashisms. 2017-10-12 15:01:43 +02:00
Florian Pose d790e03dd9 merge. 2014-10-27 14:15:55 +01:00
Florian Pose ef47dbbc44 Use absolute path fpr ldmod; thanks to S. Blanchet. 2014-07-08 11:18:02 +02:00
Florian Pose 3e3d59d96e Avoid replacing ccat driver. 2014-04-25 17:32:26 +02:00
Florian Pose c4eac658af Fixed appending to LOADED_MODULES variable. 2012-01-04 18:05:38 +01:00
Florian Pose 04b652a7fb Added first systemd support. 2012-01-04 18:00:36 +01:00