errors in in 1.3.x

  • Server
    • FOG Version: 1.2.0
    • OS: debian 8.6
    • OS: windows 7

    I want to update fog 1.2.0 to 1.3.0. I downloaded the 1.3.0 fil, uncompress it and try to launch the I have the following error :

    root@fogserver:~/fogproject/bin# sh 20: [[: not found 84: …/lib/common/ Syntax error: “(” unexpected (expecting “fi”)

    I tried to update as tell in the upgrade to trunk post, but i have the same error. I opened the script with nano to check the code, but i have see nothing at these lines.
    How to know the lines concerned by these errors ? Are the lines 20 and 84 really the concerned lines or some includes files can modify the number line shown in the message ?

  • ok, thanks

  • Moderator

    sh is more limited than bash ./ automatically chooses the right tool to execute it (if available)

  • Senior Developer

    You should never be running the script as sh

    You should run it either as: bash or simply ./

Log in to reply

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.