Skip to content

Commit

Permalink
Fix flock (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe authored Jul 4, 2023
1 parent 8a4c43b commit 63078e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-devel-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ perl makemodulerpm.pl --rpm-depends --licence 'GPLv3' --allow-overwrite $epoch "
# Copy to build/deploy server
scp -i "${HOME}/.ssh/id_ed25519" "${HOME}/rpmbuild/RPMS/noarch/${NAME}-${VERSION}-1.noarch.rpm" "$BUILD_SSH_USER@build.virtualmin.com:/home/build/result/vm/7/gpl-devel/rpm/noarch"
# Add it to the publish queue
ssh -i "${HOME}/.ssh/id_ed25519" "$BUILD_SSH_USER@build.virtualmin.com" "flock /home/build/rpm-publish-queue.lock echo 'vm/7/gpl-devel/rpm/noarch' >> /home/build/rpm-publish-queue"
ssh -i "${HOME}/.ssh/id_ed25519" "$BUILD_SSH_USER@build.virtualmin.com" "flock /home/build/rpm-publish-queue -c 'echo vm/7/gpl-devel/rpm/noarch >> /home/build/rpm-publish-queue'"

0 comments on commit 63078e6

Please sign in to comment.