summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-05 20:40:18 (GMT)
committerGuido van Rossum <guido@python.org>1998-05-05 20:40:18 (GMT)
commita58153e8bfb0f6a20403e487d499ee913d51d679 (patch)
tree8818e4fc44c5d5f4c4994bcfdafc00d86970f867
parentc594baa5526ddf04e34bc0076f52a5d98b1c5370 (diff)
downloadcpython-a58153e8bfb0f6a20403e487d499ee913d51d679.zip
cpython-a58153e8bfb0f6a20403e487d499ee913d51d679.tar.gz
cpython-a58153e8bfb0f6a20403e487d499ee913d51d679.tar.bz2
Avoid using cut; sed can do this just as well...
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 8b2c979..f4f80ae 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -389,7 +389,7 @@ libainstall: all
$(INSTALL_PROGRAM) $(srcdir)/install-sh $(LIBPL)/install-sh
$(INSTALL_DATA) $(srcdir)/Misc/Makefile.pre.in $(LIBPL)/Makefile.pre.in
@if [ -s Modules/python.exp -a \
- "`echo $(MACHDEP) | cut -c 1-3`" = "aix" ]; then \
+ "`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \
echo; echo "Installing support files for building shared extension modules on AIX:"; \
$(INSTALL_DATA) Modules/python.exp \
$(LIBPL)/python.exp; \