We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1d5d29 commit 770c40aCopy full SHA for 770c40a
1 file changed
tests/halcompile/personalities_mod/test.sh
@@ -8,9 +8,13 @@ halcompile --personalities=2 --install $DIR/bitslice.comp
8
9
# This tells us the expected filename extension ${MODULE_EXT} of realtime
10
# modules.
11
-source "${EMC2_HOME}/scripts/rtapi.conf"
+if [[ -f "${EMC2_HOME}/scripts/rtapi.conf" ]]; then
12
+ source "${EMC2_HOME}/scripts/rtapi.conf"
13
+else
14
+ source "/etc/linuxcnc/rtapi.conf"
15
+fi
16
-for INSTALLED_FILE in "${EMC2_HOME}"/rtlib/{lincurve,logic,bitslice}"${MODULE_EXT}"; do
17
+for INSTALLED_FILE in "${RTLIB_DIR}"/{lincurve,logic,bitslice}"${MODULE_EXT}"; do
18
if [[ ! -f "${INSTALLED_FILE}" ]]; then
19
echo "'halcompile --install' did not install '${INSTALLED_FILE}'"
20
exit 1
0 commit comments