mirror of
https://github.com/Smithay/smithay.git
synced 2024-09-28 03:21:14 +02:00
compile_wlcs: Compare WLCS version before using cached version
Both in CI, and when working locally, it is important to make sure the expected version of WLCS is being used.
This commit is contained in:
parent
82349491c3
commit
157812f4cc
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
WLCS_SHA=34e4804574324fa9f09fe85c19037bcc1444c465
|
||||
|
||||
if [ -f "./wlcs/wlcs" ]; then
|
||||
if [ -f "./wlcs/wlcs" ] && [ "$(cd wlcs; git rev-parse HEAD)" = "${WLCS_SHA}" ] ; then
|
||||
echo "Using cached WLCS."
|
||||
else
|
||||
echo "Compiling WLCS."
|
||||
|
|
Loading…
Reference in a new issue