Menu ▾ ▴

#121 scripts wouldn't work when path with space

v3.2.0
open-fixed
None
5
2006-07-02
2006-06-16
Anonymous
No

www.gotoservers.com uses Jave Serivce Wrapper as a
deploy wrapper. This is wonderful project.
When my client installed on his computer Windows XP
and put application under a folder which has space on
it.

Unable to locate a Wrapper executable using any of
the following names:
C:\test program\gsagent\bin\wrapper-windows-x86-
32.exe
C:\test program\gsagent\bin\wrapper-windows-x86-
64.exe
C:\test program\gsagent\bin\wrapper.exe
Press any key to continue . . .

Need put quote "" on each %_WRAPPER_EXE%,

I don't test on Windows NT/98/me, could you confirm
it works?

Also it has same problem on Linux, in the script,
seems take care about space, but it doesn't work. It
generate loop forever
# Change ":" chars back to spaces.
REALPATH=`echo $REALPATH | sed -e 's;:; ;g'`

Added
SCRIPT=`echo $SCRIPT | sed -e 's;:; ;g'`

The loop stopped,but following codes don't work. How
to fix it?

Thanks

Zhong Li

www.gotoservers.com

A secure path to access your servers

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I worked around this my modifying the App.bat file. The
    three lines that check for the file existing:

    if exist %_WRAPPER_EXE% goto conf

    should have double quotes added around the variable:

    if exist "%_WRAPPER_EXE%" goto conf

    This worked for me anyway.

    Bruce

     
  • Nobody/Anonymous

    Logged In: NO

    One more thing...

    You have to make the same changes in the install and
    uninstall scripts as well.

    brucet@santechconsulting.com

     
  • Leif Mortenson

    Leif Mortenson - 2006-07-02

    Logged In: YES
    user_id=228081

    Sorry, this is a known problem that has already been fixed
    for the 3.2.1 release. There are a couple messages in the
    list archives about it. I'll try and hurry up and get it
    out the door.

    Cheers,
    Leif

     
  • Leif Mortenson

    Leif Mortenson - 2006-07-02
    • milestone: --> v3.2.0
    • assigned_to: nobody --> mortenson
    • status: open --> open-fixed
     

Log in to post a comment.