Wednesday, June 22, 2011

ubuntu unexpected operator for shell script

[ : unexpected operator

Ubuntu is strict on shell syntax

check if you can fix it by changing

#!/bin/sh => #!/bin/bash

No comments:

Post a Comment