diff options
author | Luther Huffman <lutherh@infinet.com> | 1996-11-18 18:06:37 +1200 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1996-11-19 14:16:00 +1200 |
commit | 16da7c01952bf5f7750f4358fd0efd623fed30eb (patch) | |
tree | b989bc9bd045dda1283ba5fd56382c740a423239 /plan9/setup.rc | |
parent | 702887b4a5a2910b8748d5548b600d2dfe870f32 (diff) | |
download | perl-16da7c01952bf5f7750f4358fd0efd623fed30eb.tar.gz |
Plan 9 update
Diffstat (limited to 'plan9/setup.rc')
-rw-r--r-- | plan9/setup.rc | 7 |
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 |