[fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

Traian Stanev traian.stanev at autodesk.com
Mon Apr 20 13:44:11 EDT 2009


The assumption of bash being available is easier to meet than the assumption the build script currently makes: that /bin/sh points to bash (since this assumption in itself includes the assumption that bash is available).

Traian


From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Jason Birch
Sent: Monday, April 20, 2009 1:39 PM
To: FDO Users Mail List
Subject: RE: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

Is Bash available on all modern Linux?  I remember working on Unix platforms where it wasn't.

This isn't a question of the shell the user has set (I use tcsh myself), just the operating system's default sh.

Pointing to /bin/sh is supposed to give you a safe, posix-compliant shell.  IMO, Ubuntu is doing the wrong thing by pointing to dash be default.  I'm not sure that explicitly pointing to bash is the answer, but I'm not au-courant with Linux.

Jason

From: Traian Stanev
Sent: April-20-09 9:35 AM
Subject: RE: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

Can't we just change the build .sh files to refer to !/bin/bash at the top instead of !/bin/sh? This would make it unambiguous which shell needs to execute them, even if the user is using a shell other than bash as their default shell (all those korn and C shell users out there, heh).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-users/attachments/20090420/c98d32f9/attachment.html


More information about the fdo-users mailing list