Subversion Repositories eduke32

Rev

Rev 4342 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4342 Rev 4343
Line 125... Line 125...
125
then
125
then
126
    echo "Launching a build..."
126
    echo "Launching a build..."
127
127
128
    cd $top/$source
128
    cd $top/$source
129
129
130
    # throw the svn revision into a header.  this is ugly.
-
 
131
    echo "s_buildRev = \"r$head\";" > source/rev.h
-
 
132
-
 
133
    # get the date in the YYYYMMDD format (ex: 20091001)
130
    # get the date in the YYYYMMDD format (ex: 20091001)
134
    date=`date +%Y%m%d`
131
    date=`date +%Y%m%d`
135
132
136
133
137
    # 32-bit debug
134
    # 32-bit debug
Line 244... Line 241...
244
241
245
    # hack to restore [e]obj/keep.me
242
    # hack to restore [e]obj/keep.me
246
    echo svn update -r $head
243
    echo svn update -r $head
247
    svn update -r $head
244
    svn update -r $head
248
245
-
 
246
    # throw the svn revision into a header.
-
 
247
    echo "s_buildRev = \"r$head\";" > source/rev.h
-
 
248
249
    # export the source tree into the output directory
249
    # export the source tree into the output directory
250
    svn export . $output/$date-$head/${basename}_$date-$head
250
    svn export . $output/$date-$head/${basename}_$date-$head
251
    echo svn export . $output/$date-$head/${basename}_$date-$head
251
    echo svn export . $output/$date-$head/${basename}_$date-$head
252
252
253
    # package the source
253
    # package the source