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:
edef179
)
[fix] : Fixed string connection
author
hayao
<hayao@fascode.net>
Sun, 8 Aug 2021 09:32:40 +0000
(18:32 +0900)
committer
hayao
<hayao@fascode.net>
Sun, 8 Aug 2021 09:32:40 +0000
(18:32 +0900)
tools/pkglist.sh
patch
|
blob
|
history
diff --git
a/tools/pkglist.sh
b/tools/pkglist.sh
index
45de61d
..
d8efad1
100755
(executable)
--- a/
tools/pkglist.sh
+++ b/
tools/pkglist.sh
@@
-229,7
+229,7
@@
fi
#-- パッケージリストをソートし重複を削除 --#
#_pkglist=($(printf "%s\n" "${_pkglist[@]}" | sort | uniq | tr "\n" " "))
-readarray -t _pkglist < <(printf "%s\n" "${_pkglist[@]}" | sort | uniq |
tr -d "\n"
)
+readarray -t _pkglist < <(printf "%s\n" "${_pkglist[@]}" | sort | uniq |
grep -v ^$
)
#-- excludeに記述されたパッケージを除外 --#
for _pkg in "${_excludelist[@]}"; do