From bcfafc3aa20ad4a42ed8cfc7e4d18ef325174352 Mon Sep 17 00:00:00 2001 From: lace <> Date: Sat, 16 Sep 2006 18:24:52 +0000 Subject: [PATCH] Fix for ppc. --- src/rawhide-bootstrap | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/rawhide-bootstrap b/src/rawhide-bootstrap index 7536b31..21f0a5e 100755 --- a/src/rawhide-bootstrap +++ b/src/rawhide-bootstrap @@ -218,6 +218,7 @@ libxml2-python gmp libxml2 elfutils +elfutils-libs python-elementtree python-sqlite python-urlgrabber @@ -226,8 +227,8 @@ elfutils-libs EOH `" chroot $ROOT /usr/bin/wget `set +x;for line in $lines;do pkg $line;done` -chroot $ROOT /bin/rpm -i `set +x;for line in $lines;do basename $(pkg $line);done` -chroot $ROOT /bin/rm -f `set +x;for line in $lines;do basename $(pkg $line);done` +chroot $ROOT /bin/rpm -i `set +x;for line in $lines;do pkg $line|xargs -n1 basename;done` +chroot $ROOT /bin/rm -f `set +x;for line in $lines;do pkg $line|xargs -n1 basename;done` for repo in $ROOT/etc/yum.repos.d/*.repo;do mv -f $repo $repo-orig -- 1.8.3.1