fix updating revision in wlroots.wrap

revision gets updated to the previous one, not current.
This commit is contained in:
solopasha 2023-06-15 17:19:28 +03:00 committed by Mihai Fufezan
parent 302ec1372c
commit 1d902a4621

View file

@ -18,7 +18,7 @@ if [ "$SUB_REV" != "$CRT_REV" ]; then
jq <flake.lock 'del(.nodes.wlroots.original.rev)' | sponge flake.lock jq <flake.lock 'del(.nodes.wlroots.original.rev)' | sponge flake.lock
# fix revision in wlroots.wrap # fix revision in wlroots.wrap
sed -Ei "s/[a-z0-9]{40}/$CRT_REV/g" subprojects/wlroots.wrap sed -Ei "s/[a-z0-9]{40}/$SUB_REV/g" subprojects/wlroots.wrap
else else
echo "wlroots is up to date!" echo "wlroots is up to date!"
fi fi