git://git.jankratochvil.net
/
massrebuild.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
dtneededsize: +SYMLINK
[massrebuild.git]
/
dtneededone
1
#! /bin/bash
2
set -ex
3
repos=$1
4
shift
5
d=$1
6
shift
7
t=/tmp/dtneededone.$$
8
rm -rf $t
9
mkdir $t
10
origpwd="$PWD"
11
cd $t
12
if ! dnf --disablerepo='*' --enablerepo=$repos download "$@";then
13
echo "$@" >>$d/error-dnf
14
exit 1
15
fi
16
for i in "$@";do echo "$t/$i";done|xargs -P192 -n1 "$origpwd"/dtneededtwo "$repos" "$d"
17
echo doneone:"$*"