mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-04 15:21:12 +00:00
contrib: pass "--noclean" to rpmbuild in "makerepo.sh"
Recent rpmbuild will delete the source directory on successful build. With `makerepo.sh` that is bad, because we want that directory with the git history. Pass "--noclean" to avoid that.
This commit is contained in:
parent
cc7295698e
commit
06e039b18a
|
@ -685,7 +685,7 @@ popd
|
|||
if [[ $LOCAL != 0 ]]; then
|
||||
rm -rf ./.makerepo.git/
|
||||
mv "$DIRNAME/.git" ./.makerepo.git/
|
||||
$FEDPKG $DIST local
|
||||
$FEDPKG $DIST local -- --noclean
|
||||
mv ./.makerepo.git/ "$DIRNAME/.git"
|
||||
pushd "$DIRNAME"
|
||||
git checkout -- .gitignore
|
||||
|
|
Loading…
Reference in a new issue