Fix QA warning on dosym. Thanks to Diego for fix.
authorTomas Chvatal <scarabeus@gentoo.org>
Wed, 5 Oct 2011 15:14:07 +0000 (15:14 +0000)
committerTomas Chvatal <scarabeus@gentoo.org>
Wed, 5 Oct 2011 15:14:07 +0000 (15:14 +0000)
eclass/nsplugins.eclass

index fa456c8eeb82d32b7e2022cc0000d9c3400d7808..247978b05974e106813162ce9dcb7c08f5ea4769 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.25 2011/08/09 18:47:40 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.26 2011/10/05 15:14:07 scarabeus Exp $
 #
 # Author: Martin Schlemmer <azarah@gentoo.org>
 #
@@ -45,5 +45,5 @@ pkg_mv_plugins() {
 # First argument should be the plugin file.
 inst_plugin() {
        dodir /usr/$(get_libdir)/${PLUGINS_DIR}
-       dosym ${1} /usr/$(get_libdir)/${PLUGINS_DIR}
+       dosym ${1} /usr/$(get_libdir)/${PLUGINS_DIR}/$(basename ${1})
 }