projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
madwifi plugin: Plugin for detailed information from the MadWifi driver.
[collectd.git]
/
version-gen.sh
diff --git
a/version-gen.sh
b/version-gen.sh
index
865a075
..
9925e47
100755
(executable)
--- a/
version-gen.sh
+++ b/
version-gen.sh
@@
-1,14
+1,13
@@
#!/bin/sh
#!/bin/sh
-DEFAULT_VERSION="4.
3.4
.git"
+DEFAULT_VERSION="4.
7.2
.git"
-VERSION="
$( git describe 2> /dev/null | sed -e 's/^collectd-//' )
"
+VERSION="
`git describe 2> /dev/null | sed -e 's/^collectd-//'`
"
if test -z "$VERSION"; then
VERSION="$DEFAULT_VERSION"
fi
if test -z "$VERSION"; then
VERSION="$DEFAULT_VERSION"
fi
-VERSION=$( echo "$VERSION" | sed -e 's/-/./g' )
-
-echo -n $VERSION
+VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
+echo -n "$VERSION"