From 2b7802413a365c7dbe513ecfdce4c4e4640209c6 Mon Sep 17 00:00:00 2001
From: tnut <thierryn1 at hispeed dot ch>
Date: Fri, 4 Feb 2011 21:18:21 +0100
Subject: pkgutils, correction Pkgfile

---
 base/pkgutils/Pkgfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'base/pkgutils')

diff --git a/base/pkgutils/Pkgfile b/base/pkgutils/Pkgfile
index a139cc814..4b58c36bf 100644
--- a/base/pkgutils/Pkgfile
+++ b/base/pkgutils/Pkgfile
@@ -16,12 +16,12 @@ make DESTDIR=$PKG install
 case `uname -m` in
 	x86_64)
 		sed -i "s/march=native/mtune=generic/" $PKG/etc/pkgmk.conf
-		sed -i "/\".md5sum\"/\".md5sum.x86_64\"/" $PKG/usr/bin/pkgmk
-		sed -i "/\".footprint\"/\".footprint.x86_64\"/" $PKG/usr/bin/pkgmk;;
+		sed -i "s/\".md5sum\"/\".md5sum.x86_64\"/" $PKG/usr/bin/pkgmk
+		sed -i "s/\".footprint\"/\".footprint.x86_64\"/" $PKG/usr/bin/pkgmk;;
 	i?86)
 		sed -i "s/native/i686/" $PKG/etc/pkgmk.conf
-		sed -i "/\".md5sum\"/\".md5sum.i686\"/" $PKG/usr/bin/pkgmk
-		sed -i "/\".footprint\"/\".footprint.i686\"/" $PKG/usr/bin/pkgmk;;
+		sed -i "s/\".md5sum\"/\".md5sum.i686\"/" $PKG/usr/bin/pkgmk
+		sed -i "s/\".footprint\"/\".footprint.i686\"/" $PKG/usr/bin/pkgmk;;
 esac
 	mv $PKG/usr/man	\
 	$PKG/usr/share/man
-- 
cgit v1.2.3-70-g09d2