I’m guessing you put this temperatur.script file in /etc/openhab2/scripts.
It’s confusing but that folder was not created to hold shell scripts like this. It was created to hold Rules DSL Scripts (see the docs). By naming it with .script and putting it in that folder you are telling OH that it’s a file it needs to load and parse like a .rules file, which obviously doesn’t work because it’s not the right format.
You can easily fix it by using the standard naming convention for scripts temperatur.sh. Most properly you would put the shell script in some other folder as that folder was never intended to store shell scripts and sometimes OH will go through and change the permissions on the files in that folder.