diff options
Diffstat (limited to 'Build/Configure.hs')
-rw-r--r-- | Build/Configure.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/Configure.hs b/Build/Configure.hs index ae51e2f9e..d89c206d5 100644 --- a/Build/Configure.hs +++ b/Build/Configure.hs @@ -120,7 +120,7 @@ getSshConnectionCaching = Config "sshconnectioncaching" . BoolConfig <$> {- Set up cabal file with version. -} cabalSetup :: IO () cabalSetup = do - version <- getChangelogVersion + version <- takeWhile (/= '~') <$> getChangelogVersion cabal <- readFile cabalfile writeFile tmpcabalfile $ unlines $ map (setfield "Version" version) $ |