summaryrefslogtreecommitdiff
path: root/bin/restore.sh
diff options
context:
space:
mode:
authorLuca Falavigna <dktrkranz@debian.org>2010-03-25 20:51:52 +0100
committerLuca Falavigna <dktrkranz@debian.org>2010-03-25 20:51:52 +0100
commite7885e3af440eaef38a9301fd92a105afc8ddebb (patch)
tree184d5a614080dace236bafd02e671a3bab6e73b6 /bin/restore.sh
parent68e4fe5ac49effe8959bc8532584edf04553c931 (diff)
Imported Upstream version 1.3.0upstream/1.3.0
Diffstat (limited to 'bin/restore.sh')
-rw-r--r--bin/restore.sh22
1 files changed, 11 insertions, 11 deletions
diff --git a/bin/restore.sh b/bin/restore.sh
index 98ad1ed..8dce2d3 100644
--- a/bin/restore.sh
+++ b/bin/restore.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
#
-# Simple hack script to restore __revision__, __COPYRIGHT_, 1.2.0.d20100306
+# Simple hack script to restore __revision__, __COPYRIGHT_, 1.3.0
# and other similar variables to what gets checked in to source. This
# comes in handy when people send in diffs based on the released source.
#
@@ -24,7 +24,7 @@ for i in `find $DIRS -name '*.py'`; do
ed $i <<EOF
g/Copyright (c) 2001.*SCons Foundation/s//Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation/p
w
-/^__revision__ = /s/= .*/= "bin/restore.sh 4691 2010/03/06 16:22:36 bdbaddog"/p
+/^__revision__ = /s/= .*/= "bin/restore.sh 4720 2010/03/24 03:14:11 jars"/p
w
q
EOF
@@ -35,7 +35,7 @@ for i in `find $DIRS -name 'scons.bat'`; do
ed $i <<EOF
g/Copyright (c) 2001.*SCons Foundation/s//Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation/p
w
-/^@REM src\/script\/scons.bat/s/@REM .* knight/@REM bin/restore.sh 4691 2010/03/06 16:22:36 bdbaddog/p
+/^@REM src\/script\/scons.bat/s/@REM .* knight/@REM bin/restore.sh 4720 2010/03/24 03:14:11 jars/p
w
q
EOF
@@ -44,15 +44,15 @@ done
for i in `find $DIRS -name '__init__.py' -o -name 'scons.py' -o -name 'sconsign.py'`; do
header $i
ed $i <<EOF
-/^__version__ = /s/= .*/= "1.2.0.d20100306"/p
+/^__version__ = /s/= .*/= "1.3.0"/p
w
-/^__build__ = /s/= .*/= "r4691"/p
+/^__build__ = /s/= .*/= "r4720"/p
w
-/^__buildsys__ = /s/= .*/= "mvdog"/p
+/^__buildsys__ = /s/= .*/= "jars-desktop"/p
w
-/^__date__ = /s/= .*/= "2010/03/06 16:22:36"/p
+/^__date__ = /s/= .*/= "2010/03/24 03:14:11"/p
w
-/^__developer__ = /s/= .*/= "bdbaddog"/p
+/^__developer__ = /s/= .*/= "jars"/p
w
q
EOF
@@ -61,7 +61,7 @@ done
for i in `find $DIRS -name 'setup.py'`; do
header $i
ed $i <<EOF
-/^ *version = /s/= .*/= "1.2.0.d20100306",/p
+/^ *version = /s/= .*/= "1.3.0",/p
w
q
EOF
@@ -72,9 +72,9 @@ for i in `find $DIRS -name '*.txt'`; do
ed $i <<EOF
g/Copyright (c) 2001.*SCons Foundation/s//Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation/p
w
-/# [^ ]* 0.96.[CD][0-9]* [0-9\/]* [0-9:]* knight$/s/.*/# bin/restore.sh 4691 2010/03/06 16:22:36 bdbaddog/p
+/# [^ ]* 0.96.[CD][0-9]* [0-9\/]* [0-9:]* knight$/s/.*/# bin/restore.sh 4720 2010/03/24 03:14:11 jars/p
w
-/Version [0-9][0-9]*\.[0-9][0-9]*/s//Version 1.2.0.d20100306/p
+/Version [0-9][0-9]*\.[0-9][0-9]*/s//Version 1.3.0/p
w
q
EOF