From 5b9b3f742b0f1a26a67419c66b929630e1458b9a Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Tue, 25 Mar 2014 11:39:34 +0900 Subject: [PATCH] Display `pypy_architecture` on errors --- plugins/python-build/share/python-build/pypy-1.5 | 2 +- plugins/python-build/share/python-build/pypy-1.6 | 2 +- plugins/python-build/share/python-build/pypy-1.7 | 2 +- plugins/python-build/share/python-build/pypy-1.8 | 2 +- plugins/python-build/share/python-build/pypy-1.9 | 2 +- plugins/python-build/share/python-build/pypy-2.0 | 2 +- plugins/python-build/share/python-build/pypy-2.0.1 | 2 +- plugins/python-build/share/python-build/pypy-2.0.2 | 2 +- plugins/python-build/share/python-build/pypy-2.1 | 2 +- plugins/python-build/share/python-build/pypy-2.2 | 2 +- plugins/python-build/share/python-build/pypy-2.2.1 | 2 +- plugins/python-build/share/python-build/pypy3-2.1-beta1 | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/plugins/python-build/share/python-build/pypy-1.5 b/plugins/python-build/share/python-build/pypy-1.5 index 6e92e2e2..22fc414e 100644 --- a/plugins/python-build/share/python-build/pypy-1.5 +++ b/plugins/python-build/share/python-build/pypy-1.5 @@ -15,7 +15,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo "try 'pypy-1.5-src' to build from source." echo } >&2 diff --git a/plugins/python-build/share/python-build/pypy-1.6 b/plugins/python-build/share/python-build/pypy-1.6 index 82f48147..5e9df31f 100644 --- a/plugins/python-build/share/python-build/pypy-1.6 +++ b/plugins/python-build/share/python-build/pypy-1.6 @@ -15,7 +15,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo } >&2 exit 1 diff --git a/plugins/python-build/share/python-build/pypy-1.7 b/plugins/python-build/share/python-build/pypy-1.7 index 21e1a104..c0dd407f 100644 --- a/plugins/python-build/share/python-build/pypy-1.7 +++ b/plugins/python-build/share/python-build/pypy-1.7 @@ -15,7 +15,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo "try 'pypy-1.7-dev' to build from soruce." echo } >&2 diff --git a/plugins/python-build/share/python-build/pypy-1.8 b/plugins/python-build/share/python-build/pypy-1.8 index 05db455d..d5d71655 100644 --- a/plugins/python-build/share/python-build/pypy-1.8 +++ b/plugins/python-build/share/python-build/pypy-1.8 @@ -15,7 +15,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo "try 'pypy-1.8-dev' to build from soruce." echo } >&2 diff --git a/plugins/python-build/share/python-build/pypy-1.9 b/plugins/python-build/share/python-build/pypy-1.9 index fd690d63..eaaaab5e 100644 --- a/plugins/python-build/share/python-build/pypy-1.9 +++ b/plugins/python-build/share/python-build/pypy-1.9 @@ -15,7 +15,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo "try 'pypy-1.9-dev' to build from soruce." echo } >&2 diff --git a/plugins/python-build/share/python-build/pypy-2.0 b/plugins/python-build/share/python-build/pypy-2.0 index 493672d6..c366b549 100644 --- a/plugins/python-build/share/python-build/pypy-2.0 +++ b/plugins/python-build/share/python-build/pypy-2.0 @@ -37,7 +37,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo "try 'pypy-2.0-src' to build from soruce." echo } >&2 diff --git a/plugins/python-build/share/python-build/pypy-2.0.1 b/plugins/python-build/share/python-build/pypy-2.0.1 index 3f4e6b6e..3edb792b 100644 --- a/plugins/python-build/share/python-build/pypy-2.0.1 +++ b/plugins/python-build/share/python-build/pypy-2.0.1 @@ -29,7 +29,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo "try 'pypy-2.0.1-src' to build from soruce." echo } >&2 diff --git a/plugins/python-build/share/python-build/pypy-2.0.2 b/plugins/python-build/share/python-build/pypy-2.0.2 index 7c9c3c77..ee12bec3 100644 --- a/plugins/python-build/share/python-build/pypy-2.0.2 +++ b/plugins/python-build/share/python-build/pypy-2.0.2 @@ -29,7 +29,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo "try 'pypy-2.0.2-src' to build from soruce." echo } >&2 diff --git a/plugins/python-build/share/python-build/pypy-2.1 b/plugins/python-build/share/python-build/pypy-2.1 index 75648f57..3e7a33a5 100644 --- a/plugins/python-build/share/python-build/pypy-2.1 +++ b/plugins/python-build/share/python-build/pypy-2.1 @@ -41,7 +41,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo "try 'pypy-2.1-src' to build from soruce." echo } >&2 diff --git a/plugins/python-build/share/python-build/pypy-2.2 b/plugins/python-build/share/python-build/pypy-2.2 index 31825797..a430fbab 100644 --- a/plugins/python-build/share/python-build/pypy-2.2 +++ b/plugins/python-build/share/python-build/pypy-2.2 @@ -41,7 +41,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo "try 'pypy-2.2-src' to build from soruce." echo } >&2 diff --git a/plugins/python-build/share/python-build/pypy-2.2.1 b/plugins/python-build/share/python-build/pypy-2.2.1 index 40ebe619..8ecabd9e 100644 --- a/plugins/python-build/share/python-build/pypy-2.2.1 +++ b/plugins/python-build/share/python-build/pypy-2.2.1 @@ -41,7 +41,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo "try 'pypy-2.2.1-src' to build from soruce." echo } >&2 diff --git a/plugins/python-build/share/python-build/pypy3-2.1-beta1 b/plugins/python-build/share/python-build/pypy3-2.1-beta1 index 40377f88..b800cb6e 100644 --- a/plugins/python-build/share/python-build/pypy3-2.1-beta1 +++ b/plugins/python-build/share/python-build/pypy3-2.1-beta1 @@ -41,7 +41,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in * ) { echo colorize 1 "ERROR" - echo ": The binary distribution of PyPy is not available for $(uname -s)-$(uname -m)." + echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)." echo "try 'pypy3-2.1-beta1-src' to build from soruce." echo } >&2