From c02e6ead16eb05fddc5f890fa96226857e42d67e Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Sun, 9 Feb 2025 21:31:07 +0100 Subject: Added deletion of progress.txt for eowyn --- patches/eowyn.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'patches') diff --git a/patches/eowyn.sh b/patches/eowyn.sh index 8cac450..4eb35b6 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -26,6 +26,13 @@ echo "Zig version" $(zig version) echo "Eowyn version 23.10.5.1, let's try our magic power." echo "" +# Remove progress file +progress_file=".progress.txt" +if [ -f $progress_file ]; then + rm $progress_file +fi + + # Create directory of healing if it doesn't already exist. mkdir -p patches/healed -- cgit v1.2.3 From c1777f47d5478cde0f08dafc6937b0f38464d787 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Sun, 9 Feb 2025 21:42:31 +0100 Subject: Added delte_progress additional to the end of eowyn --- patches/eowyn.sh | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'patches') diff --git a/patches/eowyn.sh b/patches/eowyn.sh index 4eb35b6..afc2732 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -12,6 +12,12 @@ # using the patches in this directory and convey them # to convalesce in the healed directory. # +delete_progress() { + progress_file=".progress.txt" + if [ -f $progress_file ]; then + rm $progress_file + fi +} set -e # We check ourselves before we wreck ourselves. @@ -23,15 +29,11 @@ fi # Which version we have? echo "Zig version" $(zig version) -echo "Eowyn version 23.10.5.1, let's try our magic power." +echo "Eowyn version 25.1.9, let's try our magic power." echo "" # Remove progress file -progress_file=".progress.txt" -if [ -f $progress_file ]; then - rm $progress_file -fi - +delete_progress # Create directory of healing if it doesn't already exist. mkdir -p patches/healed @@ -61,3 +63,6 @@ zig fmt --check patches/healed # Test the healed exercises. May the compiler have mercy upon us. zig build -Dhealed + +# Remove progress file again +delete_progress -- cgit v1.2.3