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 C736A138247 for ; Sat, 18 Jan 2014 20:57:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 141AFE0B5B; Sat, 18 Jan 2014 20:57:48 +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 9E803E0B5B for ; Sat, 18 Jan 2014 20:57:47 +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 916AF33F818 for ; Sat, 18 Jan 2014 20:57:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id B773A18096 for ; Sat, 18 Jan 2014 20:57:44 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1390078686.68f93376d17edc0683200f582fe25d7d1fa78bc2.blueness@gentoo> Subject: [gentoo-commits] proj/elfix:master commit in: misc/install.wrapper.c/ X-VCS-Repository: proj/elfix X-VCS-Files: misc/install.wrapper.c/install.wrapper.c X-VCS-Directories: misc/install.wrapper.c/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 68f93376d17edc0683200f582fe25d7d1fa78bc2 X-VCS-Branch: master Date: Sat, 18 Jan 2014 20:57:44 +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: df6203dd-c792-400f-9d6e-554795fdcb75 X-Archives-Hash: b22787cd6d90c872bde3e1fa853a9e72 commit: 68f93376d17edc0683200f582fe25d7d1fa78bc2 Author: Anthony G. Basile gentoo org> AuthorDate: Sat Jan 18 20:58:06 2014 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Jan 18 20:58:06 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=68f93376 misc/install.wrapper.c: report PATH if we fail to find install --- misc/install.wrapper.c/install.wrapper.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/misc/install.wrapper.c/install.wrapper.c b/misc/install.wrapper.c/install.wrapper.c index bad64fe..2d588ac 100644 --- a/misc/install.wrapper.c/install.wrapper.c +++ b/misc/install.wrapper.c/install.wrapper.c @@ -190,7 +190,10 @@ which(const char *mydir) dir = strtok_r(NULL, ":", &savedptr); } - err(1, "failed to find system 'install'"); + if (env_path == NULL) + err(1, "failed to find 'install' in standard utilities path"); + else + err(1, "failed to find 'install' in PATH=%s", env_path); }