kernel-tests master: Make check_dep actually install stuff (5934ca4)

jwboyer at fedoraproject.org jwboyer at fedoraproject.org
Fri May 31 18:18:28 UTC 2013


Repository : http://git.fedorahosted.org/cgit/kernel-tests.git

On branch  : master

>---------------------------------------------------------------

commit 5934ca423c1d2917eeea871e87a78ff1767419ce
Author: Josh Boyer <jwboyer at 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
 }



More information about the kernel mailing list