head	1.2;
access;
symbols
	r2_1:1.2;
locks; strict;
comment	@# @;


1.2
date	94.09.16.18.19.21;	author thoth;	state Exp;
branches;
next	1.1;

1.1
date	94.09.16.18.09.38;	author thoth;	state Exp;
branches;
next	;


desc
@Developer utility to realize an RCS-managed directory.
@


1.2
log
@Fixed argument parsing.
@
text
@#!/bin/sh

# $Id: realize.sh,v 1.1 1994/09/16 18:09:38 thoth Exp thoth $

#
# $Log: realize.sh,v $
# Revision 1.1  1994/09/16  18:09:38  thoth
# Initial revision
#

done=0
while [ \( "" != "$1" \) -a $done = 0 ]; do
	case "$1" in
	-r*) rcsargs="$1 $rcsargs"; shift;;
	*) done=1 ;;
	esac
done

for dir in "$@@"; do

  mkdir $dir
  ( cd $dir;
    real=../../depot/src/$dir;
    ln -s $real/RCS . ;
    co $rcsargs RCS/*,v;
  )

done
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
# $Id$
d6 4
a9 1
# $Log$
d12 1
a12 1
while [ "" != "$1" -a ! $done ]; do
@
