Avoid using cut; sed can do this just as well...

This commit is contained in:
Guido van Rossum 1998-05-05 20:40:18 +00:00
parent c594baa552
commit a58153e8bf
1 changed files with 1 additions and 1 deletions

View File

@ -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; \