https://bugs.winehq.org/show_bug.cgi?id=48824 --- Comment #2 from Adam Bolte <abolte(a)systemsaviour.com> --- Created attachment 66740 --> https://bugs.winehq.org/attachment.cgi?id=66740 winebuilder I have attached my "winebuilder" build script for building a shared WoW64 using schroot. I put the winebuilder script in my path somewhere and then run something like this: $ git clone git://source.winehq.org/git/wine.git $ git clone https://github.com/wine-staging/wine-staging.git git-patches-staging $ cd wine $ git checkout v5.4 $ git checkout -b 5.4-staging $ cd ../git-patches-staging/patches $ ./patchinstall.sh DESTDIR=../../git --all $ cd ../../git $ git add . $ git commit -v -m 'Apply wine-staging patches for v5.4.' $ cd .. $ winebuilder In the winebuilder script, you can see that the clean_repo function is regularly called, which does the following: echo "Cleaning the git repository..." # If Makefile exists (which is generated by configure), remove all # files created by configure. if [ -f "${git_path}/Makefile" ] then make -C "${git_path}" distclean fi # Delete everything not in git. cd ${git_path} git reset --hard git clean -fdx -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.