Show
Ignore:
Timestamp:
26.11.2011 17:53:20 (8 years ago)
Author:
ak19
Message:

To compile apache-httpd correctly if there are spaces in the path to the GS2 installation, have added a line that runs the command prompt in short-filename mode. This is useful since we don't want to have to correct the apache-httpd bat files, but still want them to work with spaces in the filepath. Since the command prompt itself is made to work in short-filename mode, the pathname will now no longer contain spaces when the compilation phase comes to compiling up the apache-httpd.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/makegs2.bat

    r24751 r24820  
    11@echo off 
     2 
     3:: http://ss64.com/nt/syntax-args.html 
     4:: Doing this will make the command prompt go into short filenames mode for this directory. 
     5:: This will be helpful during compiling if there are spaces (or brackets) in the filepath, 
     6:: since apache's own batch scripts do not allow for the possibility of spaces or brackets. 
     7command /c rem 
     8 
    29pushd "%CD%" 
    310CD /D "%~dp0"