mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-06 16:21:50 +00:00
contrib: fix "contrib/scripts/nm-copr-build.sh" script
This commit is contained in:
parent
1277e4c882
commit
d26fa1cd52
|
@ -24,7 +24,7 @@ pushd NetworkManager
|
|||
git init .
|
||||
|
||||
git remote add origin https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
|
||||
git remote add github https://github.com/NetworkManager/NetworkManager
|
||||
git remote add --no-tags github https://github.com/NetworkManager/NetworkManager
|
||||
|
||||
get_nm_git_bundle() {
|
||||
# try to fetch the refs from nm-git-bundle.
|
||||
|
@ -40,7 +40,7 @@ get_nm_git_bundle() {
|
|||
fi
|
||||
mkdir nm-git-bundle
|
||||
pushd nm-git-bundle
|
||||
curl "$NM_GIT_BUNDLE" \
|
||||
time curl "$NM_GIT_BUNDLE" \
|
||||
| rpm2cpio - \
|
||||
| cpio -idmv
|
||||
popd
|
||||
|
@ -62,4 +62,5 @@ git checkout -b tmp "$GIT_SHA"
|
|||
./contrib/fedora/rpm/build_clean.sh -g -S -w test $DEBUG -s copr
|
||||
popd
|
||||
|
||||
mv ./NetworkManager/contrib/fedora/rpm/latest/SRPMS/* .
|
||||
mv ./NetworkManager/contrib/fedora/rpm/latest/{SOURCES,SPECS}/* .
|
||||
rm -rf ./NetworkManager
|
||||
|
|
Loading…
Reference in a new issue