GNOME Bugzilla – Bug 339770
intltool po/Makefile.in.in uses shell constructs that /bin/sh on Solaris doesn't like.
Last modified: 2006-04-27 19:12:06 UTC
The latest version of intltool in CVS HEAD, uses constructs (like "test -e"), that cause /bin/sh on Solaris to barf. Workaround is to use another SHELL like /bin/bash
I suspect that dobey has already fixed the "test -e" line, but there are other. Laca, you're shell scripting skills are an order of magnitude better than mine. Could you take a look at this please? Trying to build gcalctool from CVS HEAD on a Solaris box, will give you a ready test case. Thanks.
*** Bug 339923 has been marked as a duplicate of this bug. ***
OK, the other major issue seemed to be the use of echo $$lang.{po,gmo} to fill out the POFILES and CATALOGS variables, which caused them to be full of newlines. I've switched this to using printf "$$lang.{po,gmo} " instead now, so that we can avoid having the newlines, and still work on solaris and linux both.