19 lines
235 B
Plaintext
Executable file
19 lines
235 B
Plaintext
Executable file
case $1 in
|
|
.) ;;
|
|
*) mkdir $DESTDIR/$1
|
|
;;
|
|
esac
|
|
p=`pwd`
|
|
cd $DESTDIR/$1
|
|
if [ $# = 2 ]
|
|
then
|
|
RV $p $2 > /dev/null 2>&1
|
|
else
|
|
if `CV $p > /dev/null 2>&1`
|
|
then
|
|
echo "$1 `RC -i`"
|
|
else
|
|
echo "-- $1 CV failed for some reason" 1>&2
|
|
fi
|
|
fi
|