use BuildVersion in debian, which fixes windows build

This commit is contained in:
Joey Hess 2015-04-21 16:42:54 -04:00
parent dc6949b509
commit a15e1158c6
2 changed files with 1 additions and 4 deletions

View file

@ -67,6 +67,3 @@ cabalSetup cabalfile = do
| otherwise = s | otherwise = s
where where
fullfield = field ++ ": " fullfield = field ++ ": "
main :: IO ()
main = putStr =<< getVersion

View file

@ -9,7 +9,7 @@ umask 022
# This is the same method that the configure script uses when git-annex is # This is the same method that the configure script uses when git-annex is
# built from git master. # built from git master.
ANNEX_VERSION=$(runghc Build/Version.hs) ANNEX_VERSION=$(runghc Build/BuildVersion.hs)
ANNEX_NDVERSION=$( echo ${ANNEX_VERSION} | sed -e 's,-,+git,' -e 's,$,-1~ndall+1,') ANNEX_NDVERSION=$( echo ${ANNEX_VERSION} | sed -e 's,-,+git,' -e 's,$,-1~ndall+1,')