%install script uses -e instead of -d in test expression
--------------------------------------------------------

                 Key: MRPM-96
                 URL: https://jira.codehaus.org/browse/MRPM-96
             Project: Mojo RPM Plugin
          Issue Type: Bug
          Components: rpm
    Affects Versions: 2.1-alpha-1
         Environment: Solaris 10
            Reporter: Etienne Pelletier
            Assignee: Brett Okken


This plugin is unusable on Solaris 10 as it uses the following expression in 
the %install script:

if [ -e $RPM_BUILD_ROOT ];

-d should be used instead as it is verifying the existence of a directory, 
which is compatible with /bin/sh on Solaris, Linux, Mac OS and other platforms. 
Like so:

if [ -d $RPM_BUILD_ROOT ];


The bug is in SpecWriter.java.

--
This message is automatically generated by JIRA.
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