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:
57d6599
)
[fix] : var name typo
author
hayao
<shun819.mail@gmail.com>
Thu, 20 Aug 2020 01:52:55 +0000
(10:52 +0900)
committer
hayao
<shun819.mail@gmail.com>
Thu, 20 Aug 2020 01:52:55 +0000
(10:52 +0900)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
e7ff8a7
..
fea0a50
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-618,7
+618,7
@@
prepare_build() {
local __pkg __ver
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)
+ _
_
ver=$(pacman -Sp --print-format '%v' --config ${build_pacman_conf} ${1} 2> /dev/null)
if [[ "${_installed_ver[${__pkg}]}" = "${__ver}" ]]; then
echo -n "installed"
return 0