<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Hi,&nbsp;</div>
<div><br>
</div>
<div>I recently encountered this on a new build of gvSIG. &nbsp;Maven calls the ‘local’ shell builtin for bash but not required for sh. &nbsp;For most Linux flavors, no problem if the script’s shebang is /bin/sh – they resolve to bash or similar. &nbsp;Solaris, on the other
 hand, resolves to ksh93 so running:</div>
<div><br>
</div>
<div>$ ./target/product/gvSIG.sh</div>
<div><br>
</div>
<div>fails. The solution is simple, just call bash:</div>
<div><br>
</div>
<div>$ bash target/product/gvSIG.sh</div>
<div><br>
</div>
<div>See <a href="https://issues.apache.org/jira/browse/MNG-5852">https://issues.apache.org/jira/browse/MNG-5852</a>&nbsp;for more details. &nbsp;</div>
<div><br>
</div>
<div>Cheers!</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE">
<div>
<div style="color: rgb(181, 181, 181); margin: 0px;"><span style="font-size: 10px;">______________________________________________</span></div>
<div style="color: rgb(108, 108, 108); margin: 0px;"><span style="font-size: 13px;">Dave Welch&nbsp;<span style="color: rgb(250, 167, 87);">Software Engineer</span></span></div>
<div style="color: rgb(108, 108, 108); margin: 0px;"><span style="font-size: 13px;">URTHE<span style="color: rgb(250, 167, 87);">CAST</span></span></div>
<div style="color: rgb(249, 145, 88); margin: 0px; min-height: 14px;"><span style="font-size: 13px;"><br>
</span></div>
<span style="font-size: 13px;"><font color="#797979"><span style="line-height: 20.020000457763672px; background-color: rgb(255, 255, 255);">
<div><font color="#797979">314.227.0370 | Office&nbsp;</font></div>
314.288.0532</span></font><span style="color: rgb(51, 51, 51); line-height: 20.020000457763672px; background-color: rgb(255, 255, 255);">&nbsp;</span><span style="color: rgb(181, 181, 181);">l&nbsp;&nbsp;</span><font color="#6c6c6c">Direct</font></span>
<div style="color: rgb(108, 108, 108); margin: 0px;"><span style="font-size: 13px;">314.585.7422 &nbsp;<span style="color: rgb(181, 181, 181);">l&nbsp;&nbsp;</span>Mobile</span></div>
<div style="color: rgb(181, 181, 181); margin: 0px; min-height: 14px;"><span style="font-size: 13px;"><br>
</span></div>
<div style="margin: 0px;"><span style="font-size: 13px;"><span style="color: rgb(81, 81, 81);">111 West Port Plaza Suite 300</span>&nbsp;&nbsp;<span style="color: rgb(249, 145, 88);">l &nbsp;</span><font color="#6c6c6c">St. Louis, MO&nbsp;</font><span style="color: rgb(249, 145, 88);">l</span>&nbsp;<font color="#6c6c6c">USA</font>&nbsp;<span style="color: rgb(249, 145, 88);">l</span>&nbsp;<font color="#6c6c6c">63146</font></span></div>
<div style="color: rgb(108, 108, 108); margin: 0px; min-height: 14px;"><span style="font-size: 10px;"><br>
</span></div>
<div style="color: rgb(112, 112, 112); margin: 0px;"><span style="font-size: 10px;"><a href="http://www.urthecast.com/">urthecast.com</a><span style="color: rgb(0, 0, 0);">&nbsp;&nbsp;</span><span style="color: rgb(249, 145, 88);">l&nbsp;&nbsp;</span>Connect&nbsp;<a href="https://twitter.com/urthecast">@urthecast</a></span></div>
<div style="margin: 0px; min-height: 14px;"><span style="font-size: 10px;"><br>
</span></div>
<div style="color: rgb(170, 170, 170); margin: 0px;"><span style="font-size: 10px;">This e-mail and any attachments are for the use of the intended recipient(s) and may contain legally privileged, proprietary and/or confidential information.&nbsp;</span></div>
<div style="color: rgb(170, 170, 170); margin: 0px;"><span style="font-size: 10px;">Any use or disclosure of this e-mail (including attachments) for any purpose other than those specifically authorized is prohibited.&nbsp;</span></div>
<div style="color: rgb(170, 170, 170); margin: 0px;"><span style="font-size: 10px;">If you are not the intended recipient, please immediately notify the sender and permanently delete all copies.</span></div>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>