From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-977120-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 1C7D21396D0
	for <garchives@archives.gentoo.org>; Fri,  6 Oct 2017 17:17:11 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 801262BC001;
	Fri,  6 Oct 2017 17:17:10 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5F24F2BC001
	for <gentoo-commits@lists.gentoo.org>; Fri,  6 Oct 2017 17:17:10 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7E73434171E
	for <gentoo-commits@lists.gentoo.org>; Fri,  6 Oct 2017 17:17:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E68EA9095
	for <gentoo-commits@lists.gentoo.org>; Fri,  6 Oct 2017 17:17:07 +0000 (UTC)
From: "Ian Stakenvicius" <axs@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ian Stakenvicius" <axs@gentoo.org>
Message-ID: <1507310118.31d3ae8bbdb30450b1658dbf864c194d0ffcf2de.axs@gentoo>
Subject: [gentoo-commits] proj/mozilla:master commit in: scripts/
X-VCS-Repository: proj/mozilla
X-VCS-Files: scripts/generate_langpacks.sh
X-VCS-Directories: scripts/
X-VCS-Committer: axs
X-VCS-Committer-Name: Ian Stakenvicius
X-VCS-Revision: 31d3ae8bbdb30450b1658dbf864c194d0ffcf2de
X-VCS-Branch: master
Date: Fri,  6 Oct 2017 17:17:07 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: b18c3f2a-6638-4f59-824e-8fd67efb6e4d
X-Archives-Hash: 328884d5cbbce93ce9edc8936cb30665

commit:     31d3ae8bbdb30450b1658dbf864c194d0ffcf2de
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  6 17:15:18 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 17:15:18 2017 +0000
URL:        https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=31d3ae8b

scripts/generate_langpacks.sh: kill script of mercurial is not found

 scripts/generate_langpacks.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/generate_langpacks.sh b/scripts/generate_langpacks.sh
index ad9f7cf..c80a326 100755
--- a/scripts/generate_langpacks.sh
+++ b/scripts/generate_langpacks.sh
@@ -21,6 +21,11 @@ fi
 
 ebuild=${1}
 
+if ! hg --version &>/dev/null; then
+	echo "$0 needs mercurial -- aborting"
+	exit 1
+fi
+
 if [[ ${ebuild/.ebuild/} == ${ebuild} ]] || [[ ! -e ${ebuild} ]]; then
   echo "Must specify the full path to the ebuild as arg.1"
 fi