Subversion Repositories HelenOS-historic

Compare Revisions

No changes between revisions

Ignore whitespace Rev 561 → Rev 560

/kernel/trunk/tools/buildtag
0,0 → 1,10
#! /bin/sh
ARCH=$1
TAG="`svnversion . 2> /dev/null`"
TIMESTAMP="`date "+%Y-%m-%d %H:%M:%S" 2> /dev/null`"
if [ -z "$TAG" ] || [ "$TAG" == "exported" ]; then
TAG="Built on $TIMESTAMP for $ARCH"
else
TAG="Revision $TAG (built on $TIMESTAMP for $ARCH)"
fi
echo $TAG
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/kernel/trunk/tools/config.py
5,7 → 5,6
import sys
import os
import re
import commands
 
INPUT = 'kernel.config'
OUTPUT = 'Makefile.config'
377,10 → 376,7
elif line.startswith('## '):
# Set title of the dialog window
dlg.set_title(line[2:].strip())
 
outf.write('\n')
outf.write('REVISION=%s\n' % commands.getoutput('svnversion . 2> /dev/null'))
outf.write('TIMESTAMP=%s\n' % commands.getoutput('date "+%Y-%m-%d %H:%M:%S"'))
outf.close()
f.close()
return asked_names