On Mon, Oct 17, 2005 at 01:20:47PM +0200, Michal Cihar wrote:
> -  if [ "$2" -eq "" ]; then
> +  if [ "$2" = "" ]; then

Better yet:

  if [ -z "$2" ]; then

or at least:

  if [ "x$2" = "x" ]; then

--Paul Vojta, [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to