Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 922afb4e69 | |||
| d22017e1a1 |
@@ -23,7 +23,8 @@ update_repo(){
|
||||
|
||||
local pkgsearch=(${pkgname[@]})
|
||||
if check_option "debug" "y"; then
|
||||
pkgsearch+=("$pkgbase-debug")
|
||||
pkgbase=${pkgbase:-${pkgname[@]}}
|
||||
pkgsearch+=("${pkgbase}-debug")
|
||||
fi
|
||||
|
||||
for name in ${pkgsearch[@]}; do
|
||||
|
||||
@@ -79,14 +79,14 @@ write_details() {
|
||||
}
|
||||
|
||||
write_pkg_yaml(){
|
||||
local pkgfile=$(print_all_package_names)
|
||||
local pkgfile=$(makepkg --packagelist)
|
||||
|
||||
Yaml=$(write_yaml_header)
|
||||
|
||||
Yaml+=$(write_empty_line)
|
||||
|
||||
Yaml+=$(write_yaml_map 0 "pkgbase")
|
||||
Yaml+=$(write_yaml_map 2 "pkgname" "${pkgbase:-$pkgname}")
|
||||
Yaml+=$(write_yaml_map 2 "pkgname" "${pkgbase:-${pkgname[0]}}")
|
||||
${details} && write_details ''
|
||||
|
||||
Yaml+=$(write_empty_line)
|
||||
|
||||
@@ -61,7 +61,7 @@ subrepo_clone(){
|
||||
clone_tree(){
|
||||
local timer=$(get_timer) url="$1" tree="$2" os="${3:-$(get_osname)}"
|
||||
|
||||
msg "Cloning (%s) ..." "$tree" "$os"
|
||||
msg "Cloning %s (%s) ..." "$tree" "$os"
|
||||
|
||||
git clone $url/$tree.git
|
||||
show_elapsed_time "${FUNCNAME}" "${timer}"
|
||||
|
||||
Reference in New Issue
Block a user