ack/distr/mkd

19 lines
235 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
1990-07-30 14:32:43 +00:00
if [ $# = 2 ]
1988-04-18 10:13:57 +00:00
then
1990-07-30 14:32:43 +00:00
RV $p $2 > /dev/null 2>&1
1988-04-18 10:13:57 +00:00
else
if `CV $p > /dev/null 2>&1`
then
1991-10-16 13:28:48 +00:00
echo "$1 `RC -i`"
1988-04-18 10:13:57 +00:00
else
1991-10-16 13:28:48 +00:00
echo "-- $1 CV failed for some reason" 1>&2
1988-04-18 10:13:57 +00:00
fi
fi