Share

NanoBlogger

Tracker: Bugs

5 Bash 4 compatibility patch - ID: 2823903
Last Update: Comment added ( n1xt3r )

Hello,
in both nb 3.3 and 3.4 there is a small problem with master_index.sh plugin
on line 76, while generating pages error log is:
---------------------------------------------------------------------------
----
~/.nanoblogger-3.4/plugins/archive/master_index.sh: line 68: unexpected EOF
while looking for matching `)'
~/.nanoblogger-3.4/plugins/archive/master_index.sh: line 98: syntax error:
unexpected end of file
---------------------------------------------------------------------------
----


The bracket should be lowered by one line, here is a patch:
---------------------------------------------------------------------------
----
--- master_index.sh.orig 2008-05-27 06:37:33.000000000 +0200
+++ master_index.sh 2009-07-19 17:45:58.000000000 +0200
@@ -73,7 +73,8 @@
$NB_ArchiveCategoryLinks
</div>
<br />
- EOF)
+ EOF
+ )
fi

# make NB_ArchiveLinks placeholder
---------------------------------------------------------------------------
----


anrxc ( anrxc ) - 2009-07-19 15:49

5

Closed

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )

Date: 2009-07-25 21:44
Sender: n1xt3rProject AdminAccepting Donations

Thanks for the report! The bug has been fixed in a new minor point release
to 3.4.


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2009-07-25 21:44 n1xt3r
allow_comments 1 2009-07-25 21:44 n1xt3r
close_date - 2009-07-25 21:44 n1xt3r