Skip to content

Commit 8349c8d

Browse files
scpetersmergify[bot]
authored andcommitted
Fix gz msgs ruby command (#516)
Fixes #462. Test gz msg command in CI. Signed-off-by: Steve Peters <scpeters@openrobotics.org> (cherry picked from commit e3ad7db)
1 parent 39686a8 commit 8349c8d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/ci/after_make.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# It's necessary to install the python modules for the test.
22
make install
3+
# Test gz command
4+
export GZ_CONFIG_PATH=/usr/local/share/gz
5+
export LD_LIBRARY_PATH=/usr/local/lib
6+
gz msg

core/cmd/cmdmsgs.rb.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Cmd
3030
unless Pathname.new(exe_name).absolute?
3131
# We're assuming that the library path is relative to the current
3232
# location of this script.
33-
exe_name = File.expand_path(File.join(File.dirname(__FILE__), LIBRARY_NAME))
33+
exe_name = File.expand_path(File.join(File.dirname(__FILE__), exe_name))
3434
end
3535

3636
# Drop command from list of arguments

0 commit comments

Comments
 (0)