#!/bin/sh
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo  --- license GNU GPL 
# stta: (@#) 1.31051043346- [2004_01_29_102036]

STTA_TOOLSDIR="/opt/tarantella/tools"
[ -x $STTA_TOOLSDIR/setenv_vars ] &&  . $STTA_TOOLSDIR/setenv_vars
[ ! -x "$tclShell" ] && echo "tclShell environment not set " && exit 2

dirTools=$STTA_TOOLSDIR/tcls

case "$#" in
 0|1) echo "$msg_ensdumpUSAGE" ; exit ;;
esac 

ensStore=$2
ouname=`echo $1 | sed 's/o=//g' ` 

exec  $tclShell $dirTools/$TTAdumpCMD o=$ouname $ensStore

