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

Maciek Sieczka via RT grass-bugs at intevation.de
Tue Feb 20 14:49:22 EST 2007


hamish_nospam at yahoo.com wrote (Mon, Feb 19 2007 05:44:39):

> Everyone can play along at home by changing the first line of the script
> to "#!/bin/ash -x" and follow the output trail.

Soereng,

Do you think you could add a test for BASHisms in GRASS scripts, by forcing
them to use eg. dash in your testsuite (link /bin/sh to your dash executable,
instead of bash)? That would let us spot all eventual problems at one attempt.

Best,
Maciek


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list