remove unneeded pkg list names

This commit is contained in:
amnon 2010-06-22 21:33:32 +00:00
parent aa6204ef0d
commit 98229190d0

View File

@ -22,7 +22,7 @@ _script_name="build(er)"
_build_arch="$_arch"
_cur_repo=`pwd | awk -F '/' '{print $NF}'`
_needed_functions="config_handling messages dependency_handling"
_available_pkglists=`cat _buildscripts/${_cur_repo}-${_build_arch}-pkgs.conf | grep "_" | cut -d "=" -f 1 | awk 'BEGIN {FS="_"} {print $NF}' | sed '/^$/d'`
_available_pkglists=`cat _buildscripts/${_cur_repo}-${_build_arch}-pkgs.conf | grep $(echo "_build_${_cur_repo}"|sed 's/-/_/g') | cut -d "=" -f 1 | awk 'BEGIN {FS="_"} {print $NF}' | sed '/^$/d'`
# load functions
for subroutine in ${_needed_functions}
do