1830172 Members
4575 Online
109999 Solutions
New Discussion

Build file

 
Shane Coombs
Occasional Contributor

Build file

The build file is:
#
# This file contains the base and custom revision numbers.
# Needs to be checked out and updated during the nightly
# build.process
build.rev = 1332
custom.rev = 1285

Very simple file. The line that needs to replaced is being replaced with an environment variable that is the 2-digit year plus Julian date, with the leading zero stripped, e.g., 01 + 332 = 1332.

I tried each command listed and got command cannot be parsed for two of them.
Basically, I do not know the entire line value in the file prior to the build process. If I did, I could use the 's' and substitute, but I used 'c\' to change instead. I need to grab the line that starts with /build.rev/ and replace the entire line with this:
build.rev = $NEW_BUILD_ID
Hope this helps.

--
Shane
2 REPLIES 2
Shane Coombs
Occasional Contributor

Re: Build file

ALL:
IGNORE THREAD. MEANT TO POST A REPLY AND POSTED A NEW MESSAGE! :)
--
Shane
Darrell Allen
Honored Contributor

Re: Build file

What thread? I don't see no thread!

Just kidding!

Welcome to the forums! Happy postings!

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)