[
https://jira.codehaus.org/browse/MRPM-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anders Hammar updated MRPM-96:
------------------------------
Assignee: (was: Brett Okken)
> %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
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.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