From 20c2bb2b799d33ec6b9a78f54b5f9fa1a9b5a2b9 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 22 Oct 1991 10:55:19 +0000 Subject: [PATCH] fixes --- first/get_makepars | 6 +++--- first/limit_impl | 2 +- first/mk_config | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/first/get_makepars b/first/get_makepars index 980560f7f..d28960ab9 100755 --- a/first/get_makepars +++ b/first/get_makepars @@ -72,8 +72,8 @@ EOF fi cat $FDIR/util_comp >> make_macros else - case $knowtarget in - 1) sed -e "s/^COPTIONS.*\$/COPTIONS=-O -D_EM_WSIZE=$WS -D_EM_PSIZE=$PS/" -e "/cc-and-mkdep.ack/s/^..//" -e "s/^CC=cc/CC=acc -m$ACM" -e "s/^# AR=aal/AR=aal/" -e "s/^# RANLIB=:/RANLIB=:/" < $FDIR/target_comp >> make_macros + case $know_target in + 1) sed -e "s/^COPTIONS.*\$/COPTIONS=-O -D_EM_WSIZE=$WS -D_EM_PSIZE=$PS/" -e "/cc-and-mkdep.ack/s/^..//" -e "s/^CC=cc/CC=acc -m$ACM/" -e "s/^# AR=aal/AR=aal/" -e "s/^# RANLIB=:/RANLIB=:/" < $FDIR/target_comp >> make_macros ;; *) sed "s/^COPTIONS.*\$/COPTIONS=-O -D_EM_WSIZE=$WS -D_EM_PSIZE=$PS/" < $FDIR/target_comp >> make_macros ;; @@ -86,7 +86,7 @@ cat $FDIR/lint_params >> make_macros echo "A file called 'make_macros' has been created. This file defines some 'make' variables that parameterize all Makefiles in ACK. You may want to check it before attempting to actually install ACK." -case $knowtarget in +case $know_target in 0) echo "In fact, this installation script does not know much about your target machine, so expect some things to be wrong" ;; diff --git a/first/limit_impl b/first/limit_impl index a28a0691a..a3184e28b 100755 --- a/first/limit_impl +++ b/first/limit_impl @@ -144,7 +144,7 @@ q EOF fi -if [ DO_MACHINE_INDEP = n ] +if [ $DO_MACHINE_INDEP = n ] then for i in $CONFIG/mach/*/Action do diff --git a/first/mk_config b/first/mk_config index 18146cc5c..1049513e3 100755 --- a/first/mk_config +++ b/first/mk_config @@ -17,7 +17,7 @@ cd $CONFIG for i in mach/*/libsys do rm -rf $i -fi +done for i in `cat dir_list` do -- 2.34.1