projects
/
darkstat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd07639
)
Use sed to set the version number.
author
Malte S. Stretz
<mss@apache.org>
Fri, 3 Sep 2010 09:05:25 +0000
(11:05 +0200)
committer
Emil Mikulic
<emikulic@gmail.com>
Sat, 4 Jun 2011 14:00:31 +0000
(
00:00
+1000)
release.sh
patch
|
blob
|
history
diff --git
a/release.sh
b/release.sh
index
3b3a2c3
..
0eb3649
100755
(executable)
--- a/
release.sh
+++ b/
release.sh
@@
-93,8
+93,7
@@
run mkdir $PKG
run cp -r $files $PKG/.
# set the version number
-(echo "AC_INIT(darkstat, $VERSION)"
- grep -v "^AC_INIT" configure.ac) > $PKG/configure.ac
+run sed -e "/AC_INIT/s/darkstat, [^,)]*/darkstat, $VERSION/" configure.ac > $PKG/configure.ac
say set version: `grep '^AC_INIT' $PKG/configure.ac`
(