Skip to content

Commit

Permalink
ros::find-load-msg-path, skip 'euslisp' and 'jskeus' package for syst…
Browse files Browse the repository at this point in the history
…em installed euslisp
  • Loading branch information
k-okada committed Jan 10, 2025
1 parent f4ed545 commit 5659866
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roseus/euslisp/roseus.l
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ always the rank of list is 2"
;;
;; first look under "~A/roseus/${ROS_DISTRO}/${PKG}" and if not check CMAKE_PREFIX_PATH/share/roseus/ros/${PKG}
(defun ros::find-load-msg-path (pkg)
(when (and (string= *eusdir* "/usr/share/euslisp/") (member pkg '("euslisp" "jskeus") :test #'string=))
(warning-message 3 "on system installed euslisp, (ros::find-load-msg-path \"~A\") is skipped~%"
*eusdir* pkg)
(return-from ros::find-load-msg-path :no-msg-package))
(let ((dirs (list ))
(ppath (unix::getenv "CMAKE_PREFIX_PATH"))
(s 0) i)
Expand Down

0 comments on commit 5659866

Please sign in to comment.