[GRASS-dev] [bug #5499] (grass) bash scripts starting with #!/bin/sh

Glynn Clements glynn at gclements.plus.com
Wed Feb 21 12:39:22 EST 2007


Patricio Antonio Toledo Peña wrote:

> #!/usr/bin/env bash
> 
> instead of
> 
> #!/bin/bash
> 
> will solve the uncertainities of localization

GRASS can't run in an empty environment. Actually, very little can run
in an empty environment, as $PATH, $HOME, $USER etc are all empty.

Besides, we *want* localisation (except when people are posting error
messages to the list).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list