diff options
author | David Tardon <dtardon@redhat.com> | 2013-01-01 08:59:17 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-01-01 09:02:07 +0100 |
commit | 00234d0578419c3d0847dd89554186146121f60e (patch) | |
tree | a4e8b5ecd4bcaf66b37f15b9bbba59a3a7b90cc1 | |
parent | 55563832c492e5b03a88763cf15384655ba31181 (diff) |
replace bashisms
Change-Id: I4d7709effb8cb98827e6bdd62e422186d61ed2a0
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index eb0dd9ff994b..68723f4a72be 100644 --- a/configure.ac +++ b/configure.ac @@ -7546,8 +7546,8 @@ if test $enable_python = system; then # 2.6.2 currently on OpenSUSE 12.1? # rpm -q mingw32-python => mingw32-python-2.6.2-17.17.noarch PYTHON_VERSION=$python_version.2 - PYTHON_VERSION_MAJOR=${python_version%.*} - PYTHON_VERSION_MINOR=${python_version#*.} + PYTHON_VERSION_MAJOR=`echo $python_version | cut -d . -f 1` + PYTHON_VERSION_MINOR=`echo $python_version | cut -d . -f 2` break fi done |