13 lines
347 B
Bash
Executable file
13 lines
347 B
Bash
Executable file
#!/bin/bash
|
|
|
|
mkdir -p rpms
|
|
pushd rpms 2>&1 >/dev/null
|
|
|
|
for pkg in $(grep -B1 --no-group-separator buildorder ../tycho.yaml | grep -v buildorder | sed -e 's/:$//') ; do
|
|
if [ ! -d "$pkg" ] ; then
|
|
fedpkg clone $pkg
|
|
(cd $pkg && fedpkg switch-branch f30 && fedpkg switch-branch master && fedpkg switch-branch tycho)
|
|
fi
|
|
done
|
|
|
|
popd 2>&1 >/dev/null
|