Relative softlinks incorrectly converted to absolute
----------------------------------------------------

                 Key: MRPM-65
                 URL: http://jira.codehaus.org/browse/MRPM-65
             Project: Mojo RPM Plugin
          Issue Type: Bug
          Components: rpm
    Affects Versions: 2.0.1
         Environment: fedora 10
            Reporter: Kelly Stephens
            Assignee: Brett Okken


In trying to create a simple symbolic link in the bin directory to a file also 
in the bin directory, the target of the link is being pre-pended with a full 
path to a location in the buildroot.  Nothing should be pre-pended.

For example:

<mapping>
  <directory>/usr/bin</directory>
  <sources>
    <softlinkSource>
      <destination>scheme-r5rs</destination>
      <location>srfi-22.sh</location>
    </softlinkSource>
  </sources>
</mapping>

should be:

ln -s srfi-22.sh $RPM_BUILD_ROOT/usr/bin/scheme-r5rs

but is instead incorrectly:

ln -s /mnt/beng/usr/src/sisc/BUILD/sisc-mvn-2008-09-01/srfi-22.sh 
$RPM_BUILD_ROOT/usr/bin/scheme-r5rs


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to