Permalink
Browse files

Improve version string.

  • Loading branch information...
1 parent 6739a6f commit 0fcf828c947b66c5562a99fef56e0646928b0bf5 @jlouis jlouis committed Jan 30, 2010
Showing with 2 additions and 5 deletions.
  1. +1 −1 configure
  2. +1 −4 src/Version.hs.in
View
@@ -3,7 +3,7 @@
# Simple configuration script.
## Git version
-GITHEAD="Unknown/Hackage"
+GITHEAD="0.0 Unknown/Hackage"
if test -d "${GIT_DIR:-.git}" ; then
GITHEAD=`git describe 2>/dev/null`
View
@@ -1,11 +1,8 @@
-- | Haskell-torrent version
module Version (version) where
-versionStr :: String
-versionStr = "0.0"
-
githead :: String
githead = "@GITHEAD@"
version :: String
-version = versionStr ++ "-" ++ githead
+version = githead

0 comments on commit 0fcf828

Please sign in to comment.