summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/download
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/download')
-rwxr-xr-xresources/scripts/helpers/download/memtest86plus21
1 files changed, 6 insertions, 15 deletions
diff --git a/resources/scripts/helpers/download/memtest86plus b/resources/scripts/helpers/download/memtest86plus
index 88ba855..d7da36c 100755
--- a/resources/scripts/helpers/download/memtest86plus
+++ b/resources/scripts/helpers/download/memtest86plus
@@ -58,23 +58,14 @@ rm -f "memtest86+-5.01.tar.gz"
# make direcotory name consistent
mv "memtest86+-5.01/" "memtest86plus/"
-# there are modifications required
-cd "memtest86plus/"
-
# Apply necessary patches
# ------------------------------------------------------------------------------
-# place the right config
-rm -f "config.h"
-cp "../resources/memtest86plus/patch/config.h" .
-
-# place the right Makefile
-rm -f "Makefile"
-cp "../resources/memtest86plus/patch/Makefile" .
-
-# (diff them with defaults to see what changed)
-
-# we're done
-cd "../"
+(
+cd "memtest86plus/"
+for patch in ../resources/memtest86plus/patch/*; do
+ patch < "${patch}"
+done
+)
printf "\n\n"