Skip to content

Commit 11ab753

Browse files
author
root
committed
Chomp command output
1 parent 96f4062 commit 11ab753

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/redmine_git_hosting/config/gitolite_base.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ def gitolite_home_dir
2929

3030

3131
def gitolite_bin_dir
32-
@gitolite_bin_dir ||= RedmineGitHosting::Commands.sudo_gitolite_query_rc('GL_BINDIR')
32+
@gitolite_bin_dir ||= RedmineGitHosting::Commands.sudo_gitolite_query_rc('GL_BINDIR').chomp
3333
end
3434

3535

3636
def gitolite_lib_dir
37-
@gitolite_lib_dir ||= RedmineGitHosting::Commands.sudo_gitolite_query_rc('GL_LIBDIR')
37+
@gitolite_lib_dir ||= RedmineGitHosting::Commands.sudo_gitolite_query_rc('GL_LIBDIR').chomp
3838
end
3939

4040

0 commit comments

Comments
 (0)