From: ceriel Date: Tue, 17 Mar 1987 00:33:41 +0000 (+0000) Subject: prevent use of ranlib on pdp-11's X-Git-Tag: release-5-5~4388 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=58923cbcc0071280a09b4dd3d2196df56910ae07;p=ack.git prevent use of ranlib on pdp-11's --- diff --git a/first/first b/first/first index b1f3a2967..ac1625207 100755 --- a/first/first +++ b/first/first @@ -99,10 +99,21 @@ else fi : "Take action according to the system used" : 'Prevent the use of the system assembler on for certain systems' +: 'prevent the use of ranlib on pdp 11s' case `ack_sys` in vax_bsd*) RMD=pdp ;; vax_sys*) RMD=pdp ;; -pdp_*) RMD="vax4" ;; +pdp_*) RMD="vax4" + echo "exit 93" > ../bin/ranlib + chmod +x ../bin/ranlib + ranlib > /dev/null 2>&1 + case X$? in + X93) ;; + *) echo "Sorry, there still is an error in your PATH." + echo "It finds the system ranlib before ours, which is in the ACK bin directory." + exit 13 + esac + ;; *) RMD="pdp vax4" ;; esac for i in $RMD