What is wrong with this script?
#!/bin/sh
SONAR="~/SonarQube/bin/linux-x86-64/sonar.sh"
echo "Waiting to start..."
$($SONAR start)
It says ./start.sh: 4: ./start.sh: ~/SonarQube/bin/linux-x86-64/sonar.sh: not found but it does exist. I tried a huge amount of variations it does work only with eval: eval $SONAR start.

