From 7daf1ec4d69f05eaa7cc6b040f346d13378c8d9e Mon Sep 17 00:00:00 2001
From: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
Date: Tue, 10 Oct 2023 11:37:00 +0200
Subject: [PATCH] build_custom.sh: fix wayfire build to
 04d964eeeafde3fcdb6f15a4142301a8882df41e

---
 build_custom.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/build_custom.sh b/build_custom.sh
index b6f5783..4fae32e 100755
--- a/build_custom.sh
+++ b/build_custom.sh
@@ -46,7 +46,10 @@ if [ -z "$(reprepro listfilter reform "Package (== wayfire)")" ]; then
 		cd ../wayfire
 		git clone --recursive https://github.com/WayfireWM/wayfire.git wayfire-src
 
-		WFCOMMIT=$(git rev-parse --short HEAD)
+		git -C wayfire-src reset --hard 04d964eeeafde3fcdb6f15a4142301a8882df41e
+		git -C wayfire-src clean -df
+
+		WFCOMMIT=$(git -C wayfire-src rev-parse --short HEAD)
 		WFDATE=$(date +%Y-%m-%d)
 		WFVERTAR="0.8~$WFDATE"
 		WFVER="wayfire_$WFVERTAR-git$WFCOMMIT"
-- 
GitLab