#!/bin/sh

[ ! "$STTA" ] && echo "STTA no set "  && exit 2

. $STTA/envprofile

DESTDIR=$CINTADIR/$ahora
[ "$1" ] && {
    DESTDIR=$CINTADIR/$1
    [ ! -d $DESTDIR ] &&  {
           echo "Making  $DESTDIR " 
           make_dir $DESDIR
           [ $? != 0 ] && exit 1
    }
    DESTDIR=$CINTADIR/$1/$ahora
}

make_dir $DESDIR

echo "CINTA in $DESTDIR ..."
echo $DESTDIR

