[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.

Greg

-----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

Folks,

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

http://trac.osgeo.org/fdo/changeset/3952

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.

Summarizing:

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 :-)

Greetings
--
Mateusz Loskot
http://mateusz.loskot.net
_______________________________________________
fdo-internals mailing list
fdo-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals


More information about the fdo-internals mailing list