Fix error in /etc/profile when run from a non-tty
The tty command can return "not a tty" and thus contain spaces. The test command invocation in /etc/profile did not take this into account. This led to an error message "/etc/profile: line 34: test: too many arguments" when running a process with Qt Creator RemoteLinux plugin. Change-Id: I892f8ed47a95f41977b7ef49f42c5c3a41cdf848 Reviewed-by:Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by:
Samuli Piippo <samuli.piippo@qt.io>
Please register or sign in to comment