Ajout creation dossier files et .gitignore

This commit is contained in:
Gitouche 2023-03-05 22:36:17 +01:00
parent e892d97bae
commit 108ae0904d
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
files/

View file

@ -32,6 +32,7 @@ find ~dontbuildasroot/rpmbuild/ -name '*.rpm' -exec cp -f "{}" /out \;
EOF
if [[ $? == 0 ]]; then
mkdir -p ${ABSDIR}/files
mv -f /tmp/dockerrpmbuild-$$/*.rpm ${ABSDIR}/files/
else
exit 1