This commit is contained in:
parent
736420f6b1
commit
511259e617
1 changed files with 3 additions and 1 deletions
4
run.sh
4
run.sh
|
@ -27,6 +27,8 @@ sed -i "s/RPM_PACKAGER_EMAIL/$RPM_PACKAGER_EMAIL/g" polycat.spec
|
|||
rpmbuild -bb polycat.spec
|
||||
mv ~/rpmbuild/RPMS/x86_64/polycat-$version-* $repo_dir/
|
||||
|
||||
ls ~/rpmbuild/RPMS/x86_64/
|
||||
exit
|
||||
# remove old versions
|
||||
cd $repo_dir
|
||||
# this is the easiest way to make sure it doesn't just fail because no polycat-* exists
|
||||
|
@ -38,4 +40,4 @@ rm polycat-tmp.rpm
|
|||
# update repo
|
||||
createrepo_c .
|
||||
|
||||
echo "package is at $repo_dir/$(ls polycat-*.rpm)"
|
||||
echo "package is at $repo_dir/$(ls $repo_dir/polycat-*.rpm)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue