make jpkg resource path absolute

Akhil Arora akhil.arora at oracle.com
Fri Apr 30 13:27:04 PDT 2010


On 04/30/2010 01:25 PM, Mark Reinhold wrote:
>> Date: Thu, 29 Apr 2010 08:54:41 -0700
>> From: akhil.arora at oracle.com
> 
>> I had a question about jpkg's -r option - it seems like the value of -
>> r is relative to the current directory. This forces a build tool to cd to a
>> certain directory before invoking jpkg, which is not good because  the script
>> has to remember to  cd back after. Would it be possible to  make the value of
>> -r an absolute path? Thanks
> 
> Not sure what you mean here.  The argument to -r should be interpreted
> relative to the current directory if the argument is relative.
> 
> Are you saying that if you pass an absolute path to -r then it's not
> interpreted as absolute?  That would be a bug.

An absolute path passed to -r is not accepted at all - jpkg insists on 
being given a relative path for -r.



More information about the jigsaw-dev mailing list