Menu

bin/upgrade/config_transform.sh

Help
jll
2020-08-31
2020-09-19
  • jll

    jll - 2020-08-31

    Hi, I'm upgrading from 2.7.0 to 2.10.1 and I was following the release notes that suggested using the config_transform.sh script.

    I was hung up using that for a couple of minutes because it looks like there's an error in the shell specifier at the top of that script.

    It says '/bin/sh' but I think it should be '/bin/bash'.

    If you run it as is (or explicitly with sh), I get this error:

    ./config_transform.sh: 19: [: x: unexpected operator

    if I run it with Bash (v 4.3.48), it works as expected.

    Thanks.

     
  • Christopher Broderick

    Thanks for the feedback - will reveiw.

     
  • Christopher Broderick

    This is because Ubuntu maps /bin/sh to the Dash shell and it does not like the double equals sign.

     

Log in to post a comment.