case $# in 1|2) ;; *) echo $0 directory [ SVrecord ] 1>&2 ; exit 1 ;; esac DDIR=/usr/proj/em/Work/distr case $1 in /*) DESTDIR=$1 ;; *) DESTDIR=`pwd`/$1 ;; esac DD=$DDIR/mkd DF=$DDIR/mkf DA=$DDIR/mka export DDIR DESTDIR DD DF DA $DDIR/dwalk $2