From 1e79ff97ee189f1aab4ff14888649c51767aa083 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 1 Nov 2011 06:44:07 +0100 Subject: [PATCH] xbps-src: install_pkg_from_repos(): wrong return value was checked in. --- xbps-src/shutils/builddep_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src/shutils/builddep_funcs.sh b/xbps-src/shutils/builddep_funcs.sh index c7687832ec7..620e278d2c6 100644 --- a/xbps-src/shutils/builddep_funcs.sh +++ b/xbps-src/shutils/builddep_funcs.sh @@ -55,8 +55,8 @@ install_pkg_from_repos() tmpdepf=$(mktemp) echo "'${1}'" > $tmpdepf ${cmd} $(cat $tmpdepf) >$tmplogf 2>&1 - rm -f $tmpdepf rval=$? + rm -f $tmpdepf if [ $rval -ne 0 -a $rval -ne 6 ]; then # xbps-bin can return: #