woapplication script

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Thu Jun 17 2010 - 07:46:21 UTC

  • Next message: Chuck Hill: "Re: woapplication script"

    Hi there,

    does anyone know why in the woapp.woa/woapp script that it needs this HOME to be set?
    -------
    if [ "${HOME}" = "" ]
    then
       echo ${SCRIPT_NAME}: HOME environment variable is not set! Terminating.
       exit 1
    fi
    -------

    Was trying to deploy an app to a customer that was previously using WO52 (now 5.3.3). The app succeeds in starting from the terminal but not from JavaMonitor. Copying over the script from an old app works fine ... the above seems to be the only problem.

    It's perhaps a permissions problem but it still seems very strange if HOME isn't available it's deemed a fatal error.

    Anyone objections to 'exit 1' being removed?

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Thu Jun 17 2010 - 07:47:49 UTC