Looks like that the script for ubuntu that you have build is wrong or you edit wrong.
See line 31 of that script.
Maybe you add 'set -x' to the script and post the output.
Reply to this message by going to Community
Start a new discussion in Beginner's Corner at Community