Apologies. Just noticed I replied to this via a non-subscribed email address. Resending. On 13:19 Tue 03 Mar 2009, Peter Poeml wrote:
On Sat, Feb 28, 2009 at 11:43:36PM +0100, tcech wrote:
Dne sobota 28 Únor 2009 21:38:51 Brandon Philips napsal(a):
A simple solution to the colons in project names messing up LD_LIBRARY_PATH: http://lists.opensuse.org/archive/opensuse-buildservice/2008-12/msg00166.ht ml
Example use:
$ osc co -c openSUSE:Factory osc A $PWD/osc/debian.changelog A $PWD/osc/debian.tar.gz A $PWD/osc/osc-0.113.tar.gz A $PWD/osc/osc.changes A $PWD/osc/osc.dsc A $PWD/osc/osc.spec A $PWD/osc/ready
Versus without -c
$ osc co openSUSE:Factory osc A $PWD/openSUSE:Factory/osc/debian.changelog A $PWD/openSUSE:Factory/osc/debian.tar.gz A $PWD/openSUSE:Factory/osc/osc-0.113.tar.gz A $PWD/openSUSE:Factory/osc/osc.changes A $PWD/openSUSE:Factory/osc/osc.dsc A $PWD/openSUSE:Factory/osc/osc.spec A $PWD/openSUSE:Factory/osc/ready
Great idea, it not only allows for a simple workaround of the above mentioned colon issue, but it's also a handy alternative way to check out sources without the need for the project directory.
I think it is a good work around but I lots of man hours lost trying to figure out this same path issue over and over again in projects that use libtool. A longer term solution should be found.
In your patch, "Project" is likely a typo and should be "project".
Yes, of course, thanks :D
Wouldn't be better to autodetect this behaviour through existence and contents of $PWD/.osc dir?
If $PWD/.osc/_project contains openSUSE:Factory, behave like with -c if not - behave like without -c option.
Hm, that also sounds useful.
I think that would be useful too. So, is checking for _project but not _package the right way to do this? I think -c is good to have though. There are a lot of cases where I just check out a package, add a patch, build, commit and blow that directory away as soon as I am done. My checkouts usually live a short life. ;-) Cheers, Brandon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org