Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=99832a9ffc543faf87d77a89948f07e31a487c8b
commit 99832a9ffc543faf87d77a89948f07e31a487c8b Author: Marcus Habermehl (BMH1980 <[EMAIL PROTECTED]> Date: Wed Feb 13 00:59:20 2008 +0100 * scripts/makepkg - Adding the '-w' option to the grep command that is searching for not chroot pkgs in chroot. This is avoiding the existence of no chroot pkgs in chroot. E. g. grepping for glib matches glibc, too. But this isn't right and glib should be removed from chroot. diff --git a/scripts/makepkg b/scripts/makepkg index cfecd1a..2fd8c54 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -407,7 +407,7 @@ chroot_clean() done for i in `/usr/sbin/chroot $CHROOTDIR pacman-g2 -Q|sed 's/\([^ ]*\) .*/\1/'` do - if ! $ECHO $corelist |grep -q $i; then + if ! $ECHO $corelist |grep -qw $i; then removelist="$removelist $i" fi done _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
