<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 08/18/2010 22:37, Jeff wrote:
<blockquote cite="mid:743650.12476.qm@web62504.mail.re1.yahoo.com"
 type="cite">
  <table border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td
 style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;"
 valign="top">After updating The Warden, I can no longer import a jail.<br>
        <br>
Got this error:
        <meta name="qrichtext" content="1">
        <meta http-equiv="Content-Type"
 content="text/html; charset=ISO-8859-1">
        <style type="text/css">
p, li { white-space: pre-wrap; }
        </style>
        <p style="margin: 0px; text-indent: 0px;"><!--StartFragment-->/Programs/Warden/warden/scripts/backend/importjail.sh:
${IFILE:0...}: Bad substitution</p>
        <p style="margin: 0px; text-indent: 0px;"><br>
        </p>
        <p style="margin: 0px; text-indent: 0px;">I'm totally hosed
without this jail. If it can't quickly be fixed, can I get a copy of
the old Warden which did work?<br>
<!--EndFragment--></p>
        </td>
      </tr>
    </tbody>
  </table>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Testing mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Testing@lists.pcbsd.org">Testing@lists.pcbsd.org</a>
<a class="moz-txt-link-freetext" href="http://lists.pcbsd.org/mailman/listinfo/testing">http://lists.pcbsd.org/mailman/listinfo/testing</a>
  </pre>
</blockquote>
<br>
In that file on Line 49 or so, change it to this:<br>
<br>
chk=`echo "${IFILE}" | cut -c 1-1`<br>
if [ "$chk" != "/" ]<br>
then<br>
&nbsp; IFILE="`pwd`/${IFILE}"<br>
fi<br>
<br>
That should correct the problem, and I'll get it fixed in the next cut.
<br>
<br>
<br>
<a class="moz-txt-link-freetext" href="http://trac.pcbsd.org/changeset/7401">http://trac.pcbsd.org/changeset/7401</a><br>
<br>
<pre class="moz-signature" cols="72">-- 
Kris Moore
PC-BSD Software
iXsystems</pre>
</body>
</html>