echo "This is revision $REVISION"
echo "Supported options"
echo " -v verbose"
- echo " -b BASE"
+ echo " -b BASE - may include %d then is replaced with current date"
echo " -u : uses directory given as BASE as is, even if already exists"
echo " -e : exits (does nothing) if BASE already exists"
echo " -c CVSROOT"
### set BASE from DISTRO, if unspecified
[ -z "$BASE" ] && BASE=${DISTRO}
+ BASE=$(echo ${BASE} | sed -e "s,%d,$(DATE),g")
+
if [ -n "$EXITIFOLD" -a -d "$BASE" ] ; then
echo "$COMMAND: -e : exits on existing base directory $BASE"
BUILD=$ROOT/$BASE