From 5b5323894e515c23f6030974c92dcecebe7f105d Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 10 Nov 1993 16:07:31 +0000 Subject: [PATCH] No longer depend on /bin/arch --- first/get_makepars | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/first/get_makepars b/first/get_makepars index 726d8de05..1042579cd 100755 --- a/first/get_makepars +++ b/first/get_makepars @@ -67,18 +67,15 @@ then else sed -e "s/^COPTIONS.*\$/COPTIONS=-O -D_EM_WSIZE=$WS -D_EM_PSIZE=$PS -D__${MACH}__/" -e "s/^# RANLIB=:/RANLIB=:/" < $FDIR/target_comp >> make_macros fi - if [ -f /bin/arch ] - then - case `/bin/arch` in - sun3|sun4) - ed - make_macros <<'EOF' + case $ACM in + sun3|sparc) + ed - make_macros <<'EOF' /cc-and-mkdep.sun/s/^..// w q EOF - ;; - esac - fi + ;; + esac cat $FDIR/util_comp >> make_macros else case $know_target in