[Android-tesla-devel] connection shell script errors
Status: Beta
Brought to you by:
seanhodges
From: Adrian B. <ad...@sm...> - 2009-10-15 22:59:50
|
Hi guys, this looks really nice :-) I'm hitting a few problems ATM, but they are all really pretty small: a) it would be nice to be able to specify an alternative SSH port b) my .bashrc has "set -o nounset" which causes problems. perhaps "env|grep.." or somesuch instead? c) there is an 'if [[ "$QUERY_ENVIRON" != "" ]]' line. This is extended test syntax - which aren't actually part of the POSIX standard so some shells don't support them. 'if ! [ "$QUERY_ENVIRON" ]' should work nicely. d) even though I've turned off b) and I'm using bash, it's still failing for me - it dumps the shell script to the screen - the last bit is: .... else echo Could not find dbus session ID in user environment; fi; :- grep: Thanks, Adrian -- bitcube.co.uk - Linux infrastructure consultancy Puppet, Debian, Red Hat, Ubuntu, CentOS, ... |