diff options
author | Klemens Nanni <contact@autoboot.org> | 2015-11-19 00:56:21 +0100 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-11-21 10:26:29 +0000 |
commit | 460c5af7c66f43517a29a2d7d7d23b5a07fa8c88 (patch) | |
tree | 9cf1633f03ee09907f335035ec0a68603d18fcea /resources/scripts/helpers/download/memtest86plus | |
parent | 04dcb0d63ca111915a0a644543a1b2a9ea84c3a5 (diff) | |
download | librebootfr-460c5af7c66f43517a29a2d7d7d23b5a07fa8c88.tar.gz librebootfr-460c5af7c66f43517a29a2d7d7d23b5a07fa8c88.zip |
download/Memtest86+: Use patches not raw files
Diffstat (limited to 'resources/scripts/helpers/download/memtest86plus')
-rwxr-xr-x | resources/scripts/helpers/download/memtest86plus | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/resources/scripts/helpers/download/memtest86plus b/resources/scripts/helpers/download/memtest86plus index 88ba8558..d7da36c4 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" |