fix that should allow for > in grp pkgnames
authorDaniel Robbins <drobbins@gentoo.org>
Wed, 7 Jan 2004 18:01:46 +0000 (18:01 +0000)
committerDaniel Robbins <drobbins@gentoo.org>
Wed, 7 Jan 2004 18:01:46 +0000 (18:01 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@117 d1e1f19c-881f-0410-ab34-b69fee027534

targets/grp/grp.sh

index 03ee53cb67a2ec46f7d3e7100322a8851ef3dfc5..4bf21435e7fb88daca19f8980d2f4d91fe785529 100755 (executable)
@@ -1,6 +1,6 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/Attic/grp.sh,v 1.2 2003/11/09 01:55:48 drobbins Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/Attic/grp.sh,v 1.3 2004/01/07 18:01:46 drobbins Exp $
 
 case $1 in
 enter)
@@ -34,11 +34,11 @@ run)
        then
                unset DISTDIR
                export PKGDIR="/tmp/grp/$clst_grp_target"
-               emerge --usepkg --buildpkg --noreplace $clst_grp_packages || exit 1
+               emerge --usepkg --buildpkg --noreplace "$clst_grp_packages" || exit 1
        else
                export DISTDIR="/tmp/grp/$clst_grp_target"
                unset PKGDIR
-               emerge --fetchonly $clst_grp_packages || exit 1
+               emerge --fetchonly "$clst_grp_packages" || exit 1
        fi
 EOF
        [ $? -ne 0 ] && exit 1