<div class="gmail_quote">On Thu, Dec 17, 2009 at 7:09 AM, Niels Horn <span dir="ltr">&lt;<a href="mailto:niels.horn@gmail.com">niels.horn@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">Grissiom,</div></div>
<br>
The update_sbo_tpl does not use the SBO_TEMPLATES variable all the<br>
way, and echo &quot;\t&quot; does not work correctly in bash.<br>
<br>
I patched the file like this:<br>
<br>
--- sbo-dev-helper/usr/bin/update_sbo_tpl    2009-12-16 21:03:45.000000000 -0200<br>
+++ /usr/bin/update_sbo_tpl    2009-12-16 21:01:56.000000000 -0200<br>
@@ -7,12 +7,12 @@<br>
<br>
 wget <a href="http://www.slackbuilds.org/template.SlackBuild" target="_blank">http://www.slackbuilds.org/template.SlackBuild</a> -O<br>
$SBO_TEMPLATES/template.SlackBuild.new<br>
<br>
-if [ &quot;$(cat templates/template.SlackBuild | md5sum -)&quot; \<br>
-    != &quot;$(cat templates/template.SlackBuild.new | md5sum -)&quot; ]; then<br>
-    echo &quot;\ttemplate.SlackBuild have changed!!!&quot;<br>
-    echo &quot;\tConsider update your SlackBuilds!&quot;<br>
-    echo &quot;\tNew template file restored as<br>
$SBO_TEMPLATES/template.SlackBuild.new&quot;<br>
+if [ &quot;$(cat $SBO_TEMPLATES/template.SlackBuild | md5sum -)&quot; \<br>
+    != &quot;$(cat $SBO_TEMPLATES/template.SlackBuild.new | md5sum -)&quot; ]; then<br>
+    printf &quot;\ttemplate.SlackBuild have changed!!!&quot;<br>
+    printf &quot;\tConsider update your SlackBuilds!&quot;<br>
+    printf &quot;\tNew template file restored as<br>
$SBO_TEMPLATES/template.SlackBuild.new&quot;<br>
     exit 1<br>
 else<br>
-    rm templates/template.SlackBuild.new<br>
+    rm $SBO_TEMPLATES/template.SlackBuild.new<br>
 fi<br>
<br></blockquote><div><br></div><div></div></div><div>Oops, I forgot to change them.... Thanks for catching it. I will fix it when my slackware box can get online...</div><div><br></div><div>For shell, I use zsh as my primary shell... Thanks for testing it in other environments. Will `echo -e &quot;\t...&quot;` be ok?</div>
<div><br></div>-- <br>Cheers,<br>Grissiom<br>