mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 03:24:36 +08:00
remove unneeded pkg list names
This commit is contained in:
parent
2922c3eab7
commit
405313637b
2
build.sh
2
build.sh
@ -22,7 +22,7 @@ _script_name="build(er)"
|
|||||||
_build_arch="$_arch"
|
_build_arch="$_arch"
|
||||||
_cur_repo=`pwd | awk -F '/' '{print $NF}'`
|
_cur_repo=`pwd | awk -F '/' '{print $NF}'`
|
||||||
_needed_functions="config_handling messages dependency_handling"
|
_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
|
# load functions
|
||||||
for subroutine in ${_needed_functions}
|
for subroutine in ${_needed_functions}
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user