[fdo-internals] Small hack in setenvironment.sh

Greg Boone greg.boone at autodesk.com
Mon May 5 10:20:08 EDT 2008

We should probably formalize the --noinstall option as a recognized parameter.


-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Mateusz Loskot
Sent: Friday, May 02, 2008 5:57 PM
To: fdo-internals at lists.osgeo.org
Subject: [fdo-internals] Small hack in setenvironment.sh


I've applied a tiny hack to the setenvironment.sh script:


It does not change anything in how the script currently behaves.
It just gives a small backdoor to request the script to not to create an
installation directory. It's something like non-install mode.


1. Works as expected and previously defined

$ source ./setenvironment.sh

2. Works as non-install mode

$ source ./setenvironment.sh --noninstall
$ source ./setenvironment.sh xxx
$ source ./setenvironment.sh abc123

As you see, the value of given parameter has no meaning.

I hope you don't mind I've added this hack :-)

Mateusz Loskot
fdo-internals mailing list
fdo-internals at lists.osgeo.org

More information about the fdo-internals mailing list