Dave, I'm no expert, but I think you need to add quotes
> MYSCRIPT= /usr/bin/apt-get -d upgrade -y > > [ -x /usr/sbin/sendmail ] || exit 0 > > if [ ! -x "$MYSCRIPT" ]; then > echo "Can't find $MYSCRIPT" > exit 1 > fi > > $MYSCRIPT MYSCRIPT="/usr/bin/apt-get -d upgrade -y" echo $MYSCRIPT Try that again without the quotes and see what happens. -- Later David Kirk ** Beware the dreaded GMail reply-to header if replying to this message **
