diff options
Diffstat (limited to 'projects/GNOME/trigger')
-rwxr-xr-x | projects/GNOME/trigger | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/projects/GNOME/trigger b/projects/GNOME/trigger index 20bacb6..e7a04fe 100755 --- a/projects/GNOME/trigger +++ b/projects/GNOME/trigger @@ -1,8 +1,15 @@ #!/bin/sh # Test whether the current package is a GNOME package. while true; do + configfiles= if test -f configure.in; then - if grep '^GNOME_' configure.in >/dev/null 2>&1 ; then + configfiles="$configfiles configure.in" + fi + if test -f configure.ac; then + configfiles="$configfiles configure.ac" + fi + if test -n "$configfiles"; then + if grep '^GNOME_' $configfiles >/dev/null 2>&1 ; then exit 0 fi exit 1 |