Loading...
 
Skip to main content

Error in show.tikiwiki.org install_log (testing)

Status
Closed
Subject
Error in show.tikiwiki.org install_log (testing)
Version
11.x
Category
  • Less than 30-minutes fix
Feature
Show.Tiki.Org
Resolution status
Fixed or Solved
Submitted by
Jean-Marc Libs
Volunteered to solve
Jean-Marc Libs
Lastmod by
amette
Rating
(0)
Description

When i create a new show site which is not in trunk, the file http://jyhem-9952-4675.show.tikiwiki.org/install_log.txt

shows an error
/usr/local/sbin//tim-create: line 87: [: 11.0: syntax error: invalid arithmetic operator (error token is ".0")

Ok, I can fix that in 2 minutes but I really wanted to experiment with the whole show workflow as a normal user 😊
Let me fix it and close it 😊

Solution

Offending line is
if [[ 'trunk' -eq $SVNTAG ]]

and $SVNTAG seems to be interpreted
The following takes no chances:
if [[ 'trunk' == "${SVNTAG}" ]]
Fixed in r47169.

Importance
1 low
Easy to solve?
10 easy
Priority
10
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4675
Created
Tuesday 20 August, 2013 21:22:58 UTC
by Jean-Marc Libs
LastModif
Wednesday 21 August, 2013 14:31:52 UTC


Show PHP error messages