From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B92BD13877A for ; Thu, 17 Jul 2014 18:06:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 950EFE081E; Thu, 17 Jul 2014 18:06:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28397E081E for ; Thu, 17 Jul 2014 18:06:32 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 516433402AB for ; Thu, 17 Jul 2014 18:06:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id EF7C61807D for ; Thu, 17 Jul 2014 18:06:29 +0000 (UTC) From: "Markus Meier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markus Meier" Message-ID: <1405620388.98b9ccb2166a1278d5d211272626cb12326ab677.maekke@gentoo> Subject: [gentoo-commits] dev/maekke:master commit in: scripts/ X-VCS-Repository: dev/maekke X-VCS-Files: scripts/rdep X-VCS-Directories: scripts/ X-VCS-Committer: maekke X-VCS-Committer-Name: Markus Meier X-VCS-Revision: 98b9ccb2166a1278d5d211272626cb12326ab677 X-VCS-Branch: master Date: Thu, 17 Jul 2014 18:06:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 994c81aa-a0f7-4223-9ae6-42e9155e4e67 X-Archives-Hash: f61eaebdb9c7f68e08ac88a6479a2591 commit: 98b9ccb2166a1278d5d211272626cb12326ab677 Author: Markus Meier gentoo org> AuthorDate: Thu Jul 17 18:06:28 2014 +0000 Commit: Markus Meier gentoo org> CommitDate: Thu Jul 17 18:06:28 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/maekke.git;a=commit;h=98b9ccb2 show wget exit status --- scripts/rdep | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/rdep b/scripts/rdep index 6157d8c..b2f9014 100755 --- a/scripts/rdep +++ b/scripts/rdep @@ -43,8 +43,9 @@ fi tmp="$(mktemp)" wget -o /dev/null -O "${tmp}" "${BASE_URL}/${pkg}" -if [[ $? -ne 0 ]] ; then - echo "failed to fetch reverse deps" +res=$? +if [[ ${res} -ne 0 ]] ; then + echo "failed to fetch reverse deps (wget returned ${res})" rm "${tmp}" exit 1 fi