Repository :
http://git.fedorahosted.org/cgit/kernel-tests.git
On branch : master
---------------------------------------------------------------
commit 5934ca423c1d2917eeea871e87a78ff1767419ce
Author: Josh Boyer <jwboyer(a)redhat.com>
Date: Fri May 31 13:59:17 2013 -0400
Make check_dep actually install stuff
---------------------------------------------------------------
utils/build-deps.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/utils/build-deps.sh b/utils/build-deps.sh
index 915d94d..8f87a67 100644
--- a/utils/build-deps.sh
+++ b/utils/build-deps.sh
@@ -17,7 +17,8 @@ check_dep() {
if [ $rc -ne 0 ]
then
echo "Could not find $1. Attempting to install"
- return install_dep $1
+ install_dep $1
+ rc=$?
fi
- return 0
+ return $rc
}