File 20_wrong_path_to_wrappers.patch of Package mc

Description: Fix wrong path to the wrapper script
Bug-Debian: http://bugs.debian.org/540238
Author: Denis Briand <denis@narcan.fr>
Author: Jindřich Makovička

---
 contrib/Makefile.am |    2 +-
 contrib/mc.csh.in   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -5,7 +5,7 @@ SCRIPTS_IN = mc.csh.in mc.sh.in mc-wrapp
 SCRIPTS_OUT = mc.csh mc.sh mc-wrapper.csh mc-wrapper.sh
 
 pkglibexec_SCRIPTS = $(SCRIPTS_OUT)
-pkglibexecdir =		$(libexecdir)/@PACKAGE@
+pkglibexecdir =		$(datadir)/@PACKAGE@
 
 cfgdir = $(sysconfdir)/@PACKAGE@
 cfg_DATA = \
--- a/contrib/mc.csh.in
+++ b/contrib/mc.csh.in
@@ -1 +1 @@
-alias mc 'source @pkglibexecdir@/mc-wrapper.csh'
+alias mc 'source @datadir@/mc/mc-wrapper.csh'
openSUSE Build Service is sponsored by