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

Index: contrib/mc.csh.in
===================================================================
--- contrib/mc.csh.in.orig	2010-07-05 21:12:51.000000000 +0200
+++ contrib/mc.csh.in	2010-07-07 18:54:54.616547000 +0200
@@ -1 +1 @@
-alias mc 'source @pkglibexecdir@/mc-wrapper.csh'
+alias mc 'source @datadir@/mc/mc-wrapper.csh'
Index: contrib/Makefile.am
===================================================================
--- contrib/Makefile.am.orig	2010-07-05 21:12:51.000000000 +0200
+++ contrib/Makefile.am	2010-07-07 18:56:25.946339000 +0200
@@ -8,7 +8,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 = \