#!/bin/sh
if [ "$SRM_PATH" = "" ] 
then
   command=`which $0`
   commanddir=`dirname $command`
   SRM_PATH=`dirname $commanddir`
   if [ -x $SRM_PATH/sbin/srm ]
   then 
      export SRM_PATH
   else
      echo "cannot determine path to srm product, please define and export SRM_PATH enviroment variable" 1>&1
      exit 1
   fi
fi
$SRM_PATH/sbin/srm -advisoryDelete $*
