| Submitter | Saul Wold |
|---|---|
| Date | Feb. 23, 2012, 3:58 p.m. |
| Message ID | <0178fb54fe32c55679a023dcef9f24abaa9900ea.1330012543.git.sgw@linux.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/21793/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 5d74333..e22ea68 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -149,7 +149,7 @@ autotools_do_configure() { else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then # We'd call gettextize here if it wasn't so broken... cp ${STAGING_DATADIR}/gettext/config.rpath ${AUTOTOOLS_AUXDIR}/ - if [ ! -e ${S}/po/Makefile.in.in ]; then + if [ -d ${S}/po/ -a ! -e ${S}/po/Makefile.in.in ]; then cp ${STAGING_DATADIR}/gettext/po/Makefile.in.in ${S}/po/ fi fi