ack/distr/mkd

23 lines
295 B
Plaintext
Raw Normal View History

1988-04-18 10:13:57 +00:00
case $1 in
.) ;;
*) mkdir $DESTDIR/$1
;;
esac
p=`pwd`
cd $DESTDIR/$1
1988-08-01 09:00:03 +00:00
if [ $# = 2 ] && [ -f $p/$2 ]
1988-04-18 10:13:57 +00:00
then
1988-08-01 09:00:03 +00:00
RV $p $p/$2 > /dev/null 2>&1
1988-04-18 10:13:57 +00:00
else
1988-08-01 09:00:03 +00:00
if [ $# = 2 ]
then
echo "-- $1 no $2 Save Record yet"
fi
1988-04-18 10:13:57 +00:00
if `CV $p > /dev/null 2>&1`
then
:
else
echo "-- $1 CV failed for some reason"
fi
fi