Closed Bug 599614 Opened 14 years ago Closed 14 years ago

Fix 'defined' and 'echo' syntax in .bat files

Categories

(Firefox Build System :: MozillaBuild, task)

x86
Windows 2000
task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sgautherie, Assigned: sgautherie)

References

Details

Attachments

(2 files, 1 obsolete file)

      No description provided.
Attachment #478531 - Flags: review?(ted.mielczarek)
This is silly make-work. It may not be necessary, but it's not causing any problems, so why bother? You'll just obscure blame.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Attachment #478531 - Flags: review?(ted.mielczarek)
Comment on attachment 478531 [details] [diff] [review]
(Av1) 'defined' needs no '%', 'echo' needs no '"'

(In reply to comment #2)
> it's not causing any problems

Is it not?
On my Win2K,
*'"' are displayed, which is unexpected. (see other 'echo')
*'defined' tests fail, because the syntax is wrong. (see other 'defined')
Attachment #478531 - Flags: review?(ted.mielczarek)
Av1, fixed, plus some more consistency.
Attachment #478531 - Attachment is obsolete: true
Attachment #478960 - Flags: review?(ted.mielczarek)
Attachment #478531 - Flags: review?(ted.mielczarek)
These do not break anything, but are uselessly more complicated than needed.
Attachment #478961 - Flags: review?(ted.mielczarek)
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment on attachment 478960 [details] [diff] [review]
(Av2) 'defined' needs no '%', 'echo' needs no '"', Add missing years

No, I really don't care. This works fine on my Windows 7 system. If it's broken on Windows 2000, it doesn't matter. This is not critical functionality anyway.
Attachment #478960 - Flags: review?(ted.mielczarek) → review-
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → WONTFIX
:-(
Attachment #478961 - Flags: review?(ted.mielczarek)
I'll mention that the "defined" usage is wrong on Windows XP as well. 

It doesn't hurt anything, but the guess-msvc.bat won't list which version of VC++ if any is installed.
Depends on: 615974
Product: mozilla.org → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: