diff options
author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-10-05 19:18:20 +0000 |
---|---|---|
committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-10-05 19:18:20 +0000 |
commit | 1c7e35e193de241a80bdf020ae078083b64c4998 (patch) | |
tree | b6e644084edac8db9b4f69ff7063fc9ff3107b55 /patches/eowyn.sh | |
parent | ca378251272f134e132397aa9eff41898061d410 (diff) | |
parent | 9003544446138c7a8da83c0725bfff20841476d9 (diff) |
Merge pull request 'changed the patch files that we can also use them with busybox for testing in Woodpecker' (#8) from woodpecker into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/8
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 |