diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-10-05 20:18:04 +0200 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-10-05 20:18:04 +0200 |
| commit | 7491e3df91223e79f46bd432033daccb6aa67f6d (patch) | |
| tree | 726b71cfaa41cffe6ebbc5cc44b38dfd90b5e940 /patches/eowyn.sh | |
| parent | 992323ac6c6685f7258672be1ce6f586271243d3 (diff) | |
changed the patch files that we can also use them with busybox for testing in Woodpecker
Diffstat (limited to 'patches/eowyn.sh')
| -rwxr-xr-x | patches/eowyn.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/patches/eowyn.sh b/patches/eowyn.sh index 67a6b36..8cac450 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -22,7 +22,9 @@ then fi # Which version we have? -echo "I am in version 23.4.25.1, let's try our magic power." +echo "Zig version" $(zig version) +echo "Eowyn version 23.10.5.1, let's try our magic power." +echo "" # Create directory of healing if it doesn't already exist. mkdir -p patches/healed @@ -39,7 +41,9 @@ do # Apply the bandages to the wounds, grow new limbs, let # new life spring into the broken bodies of the fallen. echo Healing "$true_name"... - ./test/patch --output="patches/healed/$true_name.zig" "$broken" "$patch_name" + cp "$broken" "patches/healed/$true_name.zig" + patch -i "$patch_name" "patches/healed/$true_name.zig" + else echo Cannot heal "$true_name". No patch found. fi |
