[Issue 50] New - set MAXQ variable correctly when folder path has more than one 'bin'

View: New views
1 Messages — Rating Filter:   Alert me  

[Issue 50] New - set MAXQ variable correctly when folder path has more than one 'bin'

by Hari G :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://maxq.tigris.org/issues/show_bug.cgi?id=50
                 Issue #|50
                 Summary|set MAXQ variable correctly when folder path has more
                        |than one 'bin'
               Component|maxq
                 Version|current
                Platform|PC
              OS/Version|Windows XP
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|www
             Assigned to|issues@maxq
             Reported by|aparan






------- Additional comments from aparan@... Tue May  5 00:41:21 -0700 2009 -------
The line 'set MAXQ=%MAXQ:\bin\=%' in maxq.bat does not correctly set the value
of environment variable MAXQ when there are any other 'bin' folders in the
folder path of maxq installation (f.e. C:\bin\maxq\). This replaces all 'bin's
leading to an error. Instead the line should be changed to something like:

set MAXQ=%MAXQ:~0,-4%

which would do its job.

------------------------------------------------------
http://maxq.tigris.org/ds/viewMessage.do?dsForumId=990&dsMessageId=2066355