summaryrefslogtreecommitdiff
path: root/plan9/setup.rc
diff options
context:
space:
mode:
authorLuther Huffman <lutherh@infinet.com>1996-11-18 18:06:37 +1200
committerChip Salzenberg <chip@atlantic.net>1996-11-19 14:16:00 +1200
commit16da7c01952bf5f7750f4358fd0efd623fed30eb (patch)
treeb989bc9bd045dda1283ba5fd56382c740a423239 /plan9/setup.rc
parent702887b4a5a2910b8748d5548b600d2dfe870f32 (diff)
downloadperl-16da7c01952bf5f7750f4358fd0efd623fed30eb.tar.gz
Plan 9 update
Diffstat (limited to 'plan9/setup.rc')
-rw-r--r--plan9/setup.rc7
1 files changed, 5 insertions, 2 deletions
diff --git a/plan9/setup.rc b/plan9/setup.rc
index 037ecfb25c..dd96c1f9c7 100644
--- a/plan9/setup.rc
+++ b/plan9/setup.rc
@@ -9,8 +9,11 @@
awk -f versnum ../patchlevel.h
. buildinfo
builddir = `{ cd .. ; pwd }
-if(flag a) platforms = (386 mips sparc 68020)
-if not platforms = $objtype
+if (~ $#* 0) platforms = $objtype
+if not switch($1) {
+ case -a ; platforms = (386 mips sparc 68020)
+ case * ; echo 'Usage: setup.rc [-a]' >[1=2] ; exit
+}
sourcedir=/sys/src/cmd/perl/$p9pvers
privlib=/sys/lib/perl
sitelib=$privlib/site_perl