Fix for ppc.
authorlace <>
Sat, 16 Sep 2006 18:24:52 +0000 (18:24 +0000)
committerlace <>
Sat, 16 Sep 2006 18:24:52 +0000 (18:24 +0000)
src/rawhide-bootstrap

index 7536b31..21f0a5e 100755 (executable)
@@ -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