summaryrefslogtreecommitdiff
path: root/gtk/aliasfilescheck.sh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-10-05 15:51:45 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-10-05 15:51:45 +0000
commite54a2682fcea88920bc36f7d3131d5fa653eb867 (patch)
treed0b91f96202d6aa653b01590733c1738f1afe3df /gtk/aliasfilescheck.sh
parenta3b67535dfb1bc35b9e488282df81fadea81aa58 (diff)
downloadgtk+-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-xgtk/aliasfilescheck.sh5
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
-