Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
d72df66e99
|
|||
221cc796c0 |
@@ -97,7 +97,7 @@ artixpkg_git_clone() {
|
||||
shift 2
|
||||
;;
|
||||
--agent=*)
|
||||
CONFIGURE_OPTIONS+=("${1#*=}")
|
||||
CONFIGURE_OPTIONS+=("${1}")
|
||||
shift
|
||||
;;
|
||||
--all)
|
||||
|
@@ -35,7 +35,7 @@ artixpkg_git_create() {
|
||||
local clone=0
|
||||
local config=0
|
||||
local TEAM="${ARTIX_DB[5]}"
|
||||
local OPTIONS=()
|
||||
local AGENT=()
|
||||
|
||||
local TEAMS=(
|
||||
"${ARTIX_DB[2]}"
|
||||
@@ -108,12 +108,12 @@ artixpkg_git_create() {
|
||||
msg_success "Successfully created ${pkgbase}"
|
||||
fi
|
||||
if [[ ${TEAM} == ${ARTIX_DB[11]} ]]; then
|
||||
OPTIONS+=(--agent="${TEAM}")
|
||||
AGENT+=(--agent="${TEAM}")
|
||||
fi
|
||||
if (( clone )); then
|
||||
artixpkg_git_clone "${OPTIONS[@]}" "${pkgbase}"
|
||||
artixpkg_git_clone "${AGENT[@]}" "${pkgbase}"
|
||||
elif (( config )); then
|
||||
artixpkg_git_config "${OPTIONS[@]}"
|
||||
artixpkg_git_config "${AGENT[@]}"
|
||||
fi
|
||||
|
||||
done
|
||||
|
Reference in New Issue
Block a user