|
|
@ -28,15 +28,14 @@ do
|
|
|
|
patch_name="patches/$true_name.patch"
|
|
|
|
patch_name="patches/$true_name.patch"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ -f $patch_name ]]
|
|
|
|
if [ -f $patch_name ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
# Apply the bandages to the wounds, grow new limbs, let
|
|
|
|
# Apply the bandages to the wounds, grow new limbs, let
|
|
|
|
# new life spring into the broken bodies of the fallen.
|
|
|
|
# new life spring into the broken bodies of the fallen.
|
|
|
|
echo Healing $true_name...
|
|
|
|
echo Healing $true_name...
|
|
|
|
patch --output=healed/$true_name.zig $broken $patch_name
|
|
|
|
patch --output=healed/$true_name.zig $broken $patch_name
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo Cannot heal $true_name. Making empty patch.
|
|
|
|
echo Cannot heal $true_name. No patch found.
|
|
|
|
echo > $patch_name
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|