Closed owarz closed 4 years ago
can you put this in a file test.sh
and run sh test.sh
? Let me know what output you get. I will try to run on an ubuntu server tonight.
#!/bin/bash
function testFunction()
{
echo "This is test function"
}
testFunction
hello,
test.sh: 2: test.sh: Syntax error: "(" unexpected
Can you please run the installer script as below :
bash install.sh
That should fix it. Apparently sh doesn't interpret the function.
thanks, i haven't tried this. I apologize for bothering you with such a simple thing.
No problem, Just didn't have an ubuntu machine to test.
install.sh: 70: Syntax error: "(" unexpected
os:ubuntu serv 20