File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,15 @@ while read -r remote path; do
144144
145145 packages[" $pkgbase " ]=$remote
146146done < <(
147- # Look ma, no pipes.
148- trurl --get ' {url} {path}' --url-file - < <(
147+ {
148+ if (( recurse )) ; then
149+ aur depends --reverse " $@ " | tsort
150+ elif [[ $# = 1 && $1 = - || $1 = /dev/stdin ]]; then
151+ cat
152+ else
153+ printf ' %s\n' " $@ "
154+ fi
155+ } | {
149156 while IFS= read -r pkg; do
150157 if [[ $pkg != * ://* ]]; then
151158 printf ' %s/%s\n' " $AUR_LOCATION " " $pkg "
@@ -154,17 +161,8 @@ done < <(
154161 else
155162 printf ' %s\n' " $pkg "
156163 fi
157- printf ' %s\n' " $pkg "
158- done < <(
159- if (( recurse )) ; then
160- aur depends --reverse " $@ " | tsort
161- elif [[ $# = 1 && $1 = - || $1 = /dev/stdin ]]; then
162- cat
163- else
164- printf ' %s\n' " $@ "
165- fi
166- )
167- )
164+ done
165+ } | trurl --get ' {url} {path}' --url-file -
168166)
169167wait " $! " || exit
170168
You can’t perform that action at this time.
0 commit comments