3d8a254
From e0df8721cb3571cc6a91d042e52addb8abbd39c8 Mon Sep 17 00:00:00 2001
1fb876e
From: Peter Lemenkov <lemenkov@gmail.com>
1fb876e
Date: Wed, 10 Mar 2010 12:15:08 +0300
3d8a254
Subject: [PATCH 4/6] Fedora-specific patch for not to fixing fully qualified paths in scripts
1fb876e
1fb876e
---
1fb876e
 plugins-scripts/subst.in |   10 +++++-----
1fb876e
 1 files changed, 5 insertions(+), 5 deletions(-)
1fb876e
1fb876e
diff --git a/plugins-scripts/subst.in b/plugins-scripts/subst.in
1fb876e
index a70ad88..08f2895 100644
1fb876e
--- a/plugins-scripts/subst.in
1fb876e
+++ b/plugins-scripts/subst.in
1fb876e
@@ -52,11 +52,11 @@ BEGIN {
1fb876e
 # returned from the which subroutine. run before changes to INC to add libexecdir
1fb876e
 # FIXME: Prepend executables with a substitution keyword instead.
1fb876e
 #
1fb876e
-/^[^#]/ && /(\/.*)?\/(bin|sbin|lib|libexec)\// {
1fb876e
-	match($0,/(\/.*)?\/(bin|sbin|lib|libexec)\/[-_a-zA-Z0-9]+/);
1fb876e
-	c=substr($0,RSTART,RLENGTH);
1fb876e
-	sub(c,which(c,path));
1fb876e
-}
1fb876e
+#/^[^#]/ && /(\/.*)?\/(bin|sbin|lib|libexec)\// {
1fb876e
+#	match($0,/(\/.*)?\/(bin|sbin|lib|libexec)\/[-_a-zA-Z0-9]+/);
1fb876e
+#	c=substr($0,RSTART,RLENGTH);
1fb876e
+#	sub(c,which(c,path));
1fb876e
+#}
1fb876e
 
1fb876e
 # add to libexecdir to INC for perl utils.pm
1fb876e
 /^use/ { if (/lib/) { if (/utils.pm|"."/ ) {sub(/utils.pm|"."/,led() )} } }
1fb876e
-- 
3d8a254
1.7.2.3
1fb876e