From: Justin Lecher Date: Fri, 13 Nov 2015 09:37:01 +0000 (+0100) Subject: sci-mathematics/sha1-polyml: Make var declaration globally X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=68f5f806a26ddee80ee9b50d57d36f44fdd14080;p=gentoo.git 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 --- 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" }