Menu

#19 supplemental_install.bat bug

closed-fixed
nobody
None
5
2010-09-28
2010-08-12
Bill P
No

Output from batch file:

Would you like to install these utilities? [yes]
yes

Please type the existing directory you want to install to and hit enter.
\GnuWin32\bin] was unexpected at this time.

C:\Program Files (x86)\GnuWin32>

The problem is at line 73 of supplemental_install.bat:

echo [%GNUWIN32_RESPONSE%]

Placing quotes around as in:

echo "[%GNUWIN32_RESPONSE%]"

fixes it (though kind of hoses the nice display). %GNUWIN32_RESPONSE% is "C:\Program Files (x86)\GnuWin32\bin" The close-paren ")" is likely the problem.

Final output:

Please type the existing directory you want to install to and hit enter.
"[C:\Program Files (x86)\GnuWin32\bin]"
If it is the directory above that's in brackets, you can just hit enter.

Copied file "sort-7.6.exe"
Copied file "unzip.exe"
Copied file "wget-1.12.exe"
Copied file "cacert.pem"
Copied file "libeay32.dll"
Copied file "libssl32.dll"
Copied file "openssl.exe"

Done replacing utilities.
Done installing supplemental utilities.
Invocation examples for supplemental utilities:

sort-7.6 --help
wget-1.12 --help

Ending supplemental install.

Discussion

  • Jay Satiro

    Jay Satiro - 2010-09-28

    Fixed. Thanks Bill!

     
  • Jay Satiro

    Jay Satiro - 2010-09-28
    • status: open --> closed-fixed
     

Log in to post a comment.