From 460c5af7c66f43517a29a2d7d7d23b5a07fa8c88 Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Wed, 18 Nov 2015 18:56:21 -0500 Subject: download/Memtest86+: Use patches not raw files --- (limited to 'resources/scripts/helpers/download') 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" -- cgit v0.9.1