blob: c589d010b5007c52414ba5d3519c73f384995fe2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/Attic/build.sh,v 1.7 2004/06/18 18:06:21 zhen Exp $
for x in `cat /etc/make.profile/packages.build | grep -v '^#'`
do
myp=$(grep -E "${x}(-[^[:space:]]*)?[[:space:]]*$" /etc/make.profile/packages | grep -v '^#' | sed -e 's:^\*::' | cat )
if [ "$myp" = "" ]
then
#if not in the system profile, include it anyway
echo $x
else
echo $myp
fi
done
|