--- a/compileinfo.sh
+++ b/compileinfo.sh
@@ -2,7 +2,7 @@
 
 echo '// Automatically generated file. See project file and compileinfo.sh for further information.'
 date '+const char *pCompileInfoTimestamp = "%Y-%m-%d-%H.%M.%S";'
-head -qn 1 changelog debian/changelog 2>/dev/null | awk '{
+head -qn 1 debian/changelog 2>/dev/null | awk '{
                                     Version = $2
                                     gsub ("\\(", "", Version)
                                     gsub ("\\)", "", Version)
