OSDN Git Service
(root)
/
alterlinux
/
alterlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85aebdb
)
[fix] : array name
author
hayao
<shun819.mail@gmail.com>
Thu, 20 Aug 2020 01:52:27 +0000
(10:52 +0900)
committer
hayao
<shun819.mail@gmail.com>
Thu, 20 Aug 2020 01:52:27 +0000
(10:52 +0900)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
a0c3603
..
e7ff8a7
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-616,7
+616,7
@@
prepare_build() {
_check_pkg() {
local __pkg __ver
- for __pkg in $(seq 0 $(( ${#installed_pkg[@]} - 1 ))); do
+ for __pkg in $(seq 0 $(( ${#
_
installed_pkg[@]} - 1 ))); do
if [[ "${_installed_pkg[${__pkg}]}" = ${1} ]]; then
_ver=$(pacman -Sp --print-format '%v' --config ${build_pacman_conf} ${1} 2> /dev/null)
if [[ "${_installed_ver[${__pkg}]}" = "${__ver}" ]]; then