summaryrefslogtreecommitdiff
path: root/Build/Configure.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Build/Configure.hs')
-rwxr-xr-x[-rw-r--r--]Build/Configure.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/Configure.hs b/Build/Configure.hs
index 46a3a2452..478869582 100644..100755
--- a/Build/Configure.hs
+++ b/Build/Configure.hs
@@ -109,8 +109,8 @@ getVersion = do
getChangelogVersion :: IO String
getChangelogVersion = do
- changelog <- readFile "CHANGELOG"
- let verline = head $ lines changelog
+ changelog <- readFile "debian/changelog"
+ let verline = takeWhile (/= '\n') changelog
return $ middle (words verline !! 1)
where
middle = drop 1 . init