Skip to content

Commit

Permalink
system installed euslisp does not have EUSDIR, int this case, try to …
Browse files Browse the repository at this point in the history
…find 'irteusgl' under /usr/bin/
  • Loading branch information
k-okada committed Jan 10, 2025
1 parent e24385b commit f4ed545
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roseus/bin/roseus.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ set -e

if [ "@APPLE@" = "1" ]; then
EUSLISP_EXE=/usr/local/bin/irteusgl # osx
elif [ "$EUSDIR" = "" ]; then
EUSLISP_EXE=`find -L /usr/bin/*eus* -type f -name irteusgl` # fix find: File system loop detected; '/usr/bin/X\11' is part of the same file system loop as '/usr/bin'.
else
EUSLISP_EXE=`find -L $EUSDIR -type f -name irteusgl` # linux
fi
Expand Down

0 comments on commit f4ed545

Please sign in to comment.