diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-10-05 15:51:45 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-10-05 15:51:45 +0000 |
commit | e54a2682fcea88920bc36f7d3131d5fa653eb867 (patch) | |
tree | d0b91f96202d6aa653b01590733c1738f1afe3df /gtk/aliasfilescheck.sh | |
parent | a3b67535dfb1bc35b9e488282df81fadea81aa58 (diff) | |
download | gtk+-e54a2682fcea88920bc36f7d3131d5fa653eb867.tar.gz |
Propagate srcdir into the test correctly. (#359845)
2006-10-05 Behdad Esfahbod <behdad@gnome.org>
* gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
test correctly. (#359845)
Diffstat (limited to 'gtk/aliasfilescheck.sh')
-rwxr-xr-x | gtk/aliasfilescheck.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/aliasfilescheck.sh b/gtk/aliasfilescheck.sh index f350663fb7..31b49d4510 100755 --- a/gtk/aliasfilescheck.sh +++ b/gtk/aliasfilescheck.sh @@ -5,8 +5,7 @@ if test "x$gtk_all_c_sources" = x; then exit 1 fi -grep 'IN_FILE' gtk.symbols | sed 's/.*(//;s/).*//' | grep __ | sort -u > expected-files -grep '^ *# *define __' $gtk_all_c_sources | sed 's/.*define //;s/ *$//' | sort > actual-files +grep 'IN_FILE' ${srcdir-.}/gtk.symbols | sed 's/.*(//;s/).*//' | grep __ | sort -u > expected-files +{ cd ${srcdir-.}; grep '^ *# *define __' $gtk_all_c_sources; } | sed 's/.*define //;s/ *$//' | sort > actual-files diff expected-files actual-files && rm -f expected-files actual-files - |