]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
vici: Explicitly disable --user-install when installing Ruby Gem
authorTobias Brunner <tobias@strongswan.org>
Tue, 31 Mar 2015 08:51:22 +0000 (10:51 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 21 May 2015 15:22:11 +0000 (17:22 +0200)
Only one of `--user-install` and `--install-dir` may be set and if
`--user-install` is the default on a system installation will fail
unless we disable it explicitly.

Fixes #914.

src/libcharon/plugins/vici/ruby/Makefile.am

index a66a66219d9c5d69119d280e4f2086f961fb58a8..e2d340431bf584bf0bf5a1894a73c22e028a51ce 100644 (file)
@@ -17,7 +17,7 @@ clean-local:
 
 if RUBY_GEMS_INSTALL
 install-data-local: vici-$(PACKAGE_VERSION).gem
-       $(GEM) install --install-dir $(DESTDIR)$(RUBYGEMDIR) \
+       $(GEM) install --no-user-install --install-dir $(DESTDIR)$(RUBYGEMDIR) \
                vici-$(PACKAGE_VERSION).gem
 
 uninstall-local: