summaryrefslogtreecommitdiff
path: root/projects/generate
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2015-02-15 14:56:21 +0000
committerfrosch <frosch@openttd.org>2015-02-15 14:56:21 +0000
commit83a02da3806d5d283febe5d1b372234511af0a4b (patch)
treea1961fb01e9fda06769d06eb20da84ff09fe9ed3 /projects/generate
parent310258f2834693e2794c1e6fbe88ba9cca2af77a (diff)
downloadopenttd-83a02da3806d5d283febe5d1b372234511af0a4b.tar.xz
(svn r27152) -Fix: Generated files.
Diffstat (limited to 'projects/generate')
-rwxr-xr-xprojects/generate2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/generate b/projects/generate
index 542a27d6e..42b684d2a 100755
--- a/projects/generate
+++ b/projects/generate
@@ -77,7 +77,7 @@ safety_check() {
done
}
-grep '\.h' "$ROOT_DIR/source.list" | grep -v '../objs/langs/table/strings.h\|../objs/settings/table/settings.h' | sed 's/ //' | sort > tmp.headers.source.list
+grep '\.h' "$ROOT_DIR/source.list" | grep -v '../objs/langs/table/strings.h\|../objs/settings/table/settings.h' | sed 's/ //g' | sort > tmp.headers.source.list
find "$ROOT_DIR/src" \( -iname "*.h" -or -iname "*.hpp" \) -and -not -ipath "*/.svn/*" | sed "s~$ROOT_DIR/src/~~" | sort > tmp.headers.src
if [ -n "`diff tmp.headers.source.list tmp.headers.src`" ]; then
echo "The following headers are missing in source.list and not in /src/ or vice versa."