diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2015-11-21 12:25:07 +0100 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2015-11-24 22:56:27 +0100 |
commit | 396e8ef67d5956f1e2fd11b6ea91589c8b8b133a (patch) | |
tree | cf609799e0931a09762d90d4044f5151e83497f4 /eclass/gnome2-utils.eclass | |
parent | gnome2-utils.eclass: don't mask stderr of pushd/popd (diff) | |
download | gentoo-396e8ef67d5956f1e2fd11b6ea91589c8b8b133a.tar.gz gentoo-396e8ef67d5956f1e2fd11b6ea91589c8b8b133a.tar.bz2 gentoo-396e8ef67d5956f1e2fd11b6ea91589c8b8b133a.zip |
gnome2-utils.eclass: make sure configure exists before try to sed it
Would cause error messages, see bug #566202.
Thanks to Gregory Turner for reporting.
https://bugs.gentoo.org/show_bug.cgi?id=566202
Diffstat (limited to 'eclass/gnome2-utils.eclass')
-rw-r--r-- | eclass/gnome2-utils.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass index f945a7829d47..83a361057041 100644 --- a/eclass/gnome2-utils.eclass +++ b/eclass/gnome2-utils.eclass @@ -486,7 +486,7 @@ gnome2_disable_deprecation_warning() { fi done < <(find "${S}" -name "Makefile.in" \ -o -name "Makefile.am" -o -name "Makefile.decl" \ - | sort; echo configure) + | sort; [[ -f "${S}"/configure ]] && echo configure) # TODO: sedding configure.ac can trigger maintainer mode; bug #439602 # -o -name "configure.ac" -o -name "configure.in" \ # | sort; echo configure) |