mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
fix several bugs in tr argument lists
This commit is contained in:
parent
e7abf4e2c3
commit
2242fd1c22
2 changed files with 7 additions and 7 deletions
|
@ -79,10 +79,10 @@ AC_SUBST(MACHDEP)
|
|||
AC_MSG_CHECKING(MACHDEP)
|
||||
if test -z "$MACHDEP"
|
||||
then
|
||||
ac_sys_system=`uname -s | tr -d '[[/ ]]' | tr '[[A-Z]]' '[[a-z]]'`
|
||||
ac_sys_release=`uname -r | tr -d '[[/ ]]' | sed 's/\..*//'`
|
||||
ac_sys_system=`uname -s | tr -d '[/ ]' | tr '[[A-Z]]' '[[a-z]]'`
|
||||
ac_sys_release=`uname -r | tr -d '[/ ]' | sed 's/\..*//'`
|
||||
ac_sys_cpu=`(uname -p 2>/dev/null || uname -m) |
|
||||
tr '[[A-Z]]' '[[-a-z]]'`
|
||||
tr '[[A-Z]]' '[[a-z]]'`
|
||||
## MACHDEP="$ac_sys_system$ac_sys_release$ac_sys_cpu"
|
||||
MACHDEP="$ac_sys_system$ac_sys_release"
|
||||
case MACHDEP in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue