Building on Solaris : /bin/sh != bash
- From: Charles G Waldman <cgw alum mit edu>
- To: gnome-devel-list gnome org
- Subject: Building on Solaris : /bin/sh != bash
- Date: Fri, 11 Jan 2002 10:30:45 -0600
I've recently gone through the effort of building Gnome on Solaris
and had to do a bit of hand-patching. The main issues were A) needing
to add "-R" flags to link commands and B) errors in shell scripts
which seem to assume that /bin/sh is bash. On Solaris this isn't the
case, and tests of the form
test thing == other_thing
generate syntax errors. I've been fixing these one by one as they pop
up, but I haven't been submitting patches... are these known issues?
should I submit patches? is this the right place to submit them?
Here's a patch for one such case, in
control-center-1.5.11/capplets/common/wrapper-script.in
*** wrapper-script.in.orig Fri Jan 11 10:27:39 2002
--- wrapper-script.in Fri Jan 11 10:01:17 2002
***************
*** 1,6 ****
#!/bin/sh
! if test "x$#" == "x0"
then
@BINDIR@/gnomecc --run-capplet @CAPPLET_NAME@
else
--- 1,6 ----
#!/bin/sh
! if test "x$#" = "x0"
then
@BINDIR@/gnomecc --run-capplet @CAPPLET_NAME@
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]