From 68f5f806a26ddee80ee9b50d57d36f44fdd14080 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Fri, 13 Nov 2015 10:37:01 +0100 Subject: [PATCH] sci-mathematics/sha1-polyml: Make var declaration globally Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=565650 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher --- sci-mathematics/sha1-polyml/metadata.xml | 12 ++++++------ sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sci-mathematics/sha1-polyml/metadata.xml b/sci-mathematics/sha1-polyml/metadata.xml index c3a2e907f34c..50a414f56b23 100644 --- a/sci-mathematics/sha1-polyml/metadata.xml +++ b/sci-mathematics/sha1-polyml/metadata.xml @@ -1,12 +1,12 @@ - - gienah@gentoo.org - Mark Wright - -sci-mathematics - + + gienah@gentoo.org + Mark Wright + + sci-mathematics + sci-mathematics/sha1-polyml is the implementation of SHA1 taken from the GNU coreutils package as described in the sci-mathematics/sha1-polyml README. It is required by sci-mathematics/isabelle. diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild b/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild index a5d68567de68..1aaf42841abb 100644 --- a/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild +++ b/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild @@ -60,11 +60,11 @@ src_prepare() { } src_compile() { - local arch=$(uname -m) - local uos=$(uname) + arch=$(uname -m) + uos=$(uname) # Switch to ,, when we switch to EAPI=6. #local los=${uos,,} - local los=$(tr '[:upper:]' '[:lower:]' <<<"${uos}") + los=$(tr '[:upper:]' '[:lower:]' <<<"${uos}") ./build "${arch}-${los}" || die "build failed" } -- 2.26.2