summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/clean/memtest86plus
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/clean/memtest86plus')
-rwxr-xr-xresources/scripts/helpers/build/clean/memtest86plus14
1 files changed, 4 insertions, 10 deletions
diff --git a/resources/scripts/helpers/build/clean/memtest86plus b/resources/scripts/helpers/build/clean/memtest86plus
index e6a9218..6a01443 100755
--- a/resources/scripts/helpers/build/clean/memtest86plus
+++ b/resources/scripts/helpers/build/clean/memtest86plus
@@ -3,6 +3,7 @@
# helper script: clean the dependencies that were built in memtest86+
#
# Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,21 +20,14 @@
#
# This script assumes that the current working directory is the root
-# of libreboot_src or libreboot git
+# of git or release archive
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
-# clean memtest86+
-# --------------------------------------------------------
-
printf "Cleaning the previous build of MemTest86+\n"
-cd "memtest86plus"/
-
-make clean
-
-# done. go back to main directory
-cd "../"
+# clean MemTest86+
+make -C memtest86plus clean
printf "\n\n"