diff options
author | 1989-11-16 05:21:43 +0000 | |
---|---|---|
committer | 1989-11-16 05:21:43 +0000 | |
commit | c5cde31d770a9a0376b2ee18d091bdc3a8d0c050 (patch) | |
tree | b79f54fb9bd68304b214566655c36ce92b7fd367 /zwgc | |
parent | 5c9f4c84c729b15bc27300f7ff5b664e2ec9a85b (diff) |
fix usage to pass in $source
Diffstat (limited to 'zwgc')
-rwxr-xr-x | zwgc/Dictionary/generate_dictionary_instance | 5 | ||||
-rwxr-xr-x | zwgc/generate_stack_instance | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/zwgc/Dictionary/generate_dictionary_instance b/zwgc/Dictionary/generate_dictionary_instance index dce0bfb..444d51b 100755 --- a/zwgc/Dictionary/generate_dictionary_instance +++ b/zwgc/Dictionary/generate_dictionary_instance @@ -14,10 +14,11 @@ # "mit-copyright.h". # -set source=/afs/athena.mit.edu/astaff/project/zephyr/@sys/zwgc/zwgc.dev/Dictionary +set source=$1 +shift if (z$1x == zx) then - echo "usage: generate_dictionary_instance <typename> [<include file>]" + echo "usage: generate_dictionary_instance <srcdir> <typename> [<include file>]" exit 1 endif if (-r $source/dictionary.c) then diff --git a/zwgc/generate_stack_instance b/zwgc/generate_stack_instance index d179570..da237ca 100755 --- a/zwgc/generate_stack_instance +++ b/zwgc/generate_stack_instance @@ -14,12 +14,12 @@ # "mit-copyright.h". # set rcsid_generate_stack_instance='$Id$' -cat /usr/include/zephyr/mit-copyright.h > /dev/null -set source=/afs/athena.mit.edu/astaff/project/zephyr/@sys/zwgc/zwgc.dev +set source=$1 +shift if (z$1x == zx) then - echo "usage: generate_stack_instance <typename> [<include file>]" + echo "usage: generate_stack_instance <srcdir> <typename> [<include file>]" exit 1 endif if (-r $source/stack.h) then |