The recent change for setting LD_LIBRARY_PATH doesn't actually work, as the script is executed by /bin/sh. On many systems, /bin/sh does not have support for "[[". We could either switch to a different shell (e.g. /bin/bash), we could switch to using "[" instead, or we could avoid the entire problem by using "${:+}" variable expansion.
The recent change for setting LD_LIBRARY_PATH doesn't actually work, as the
script is executed by /bin/sh. On many systems, /bin/sh does not have support
for "[[". We could either switch to a different shell (e.g. /bin/bash), we
could switch to using "[" instead, or we could avoid the entire problem by
using "${:+}" variable expansion.

I tested that the latter does the right thing with /bin/bash, /bin/ash,
/bin/dash, /bin/zsh, /bin/sh (the latter being a symbolic link to /bin/dash).
So, I think we are on the safe side.

BUG=54132
TEST=Start Chrome and notice that there no longer is an error message about "[[" being unavailable
Review URL: http://codereview.chromium.org/3412004

git-svn-id: http://src.chromium.org/svn/trunk/src@59579 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: e44ad672ebf2abf16a2aa1f3646dbaf411aef511
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser