Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Issue 3457004: Merge 59579 - The recent change for setting LD_LIBRARY_PATH doesn't actually ... (Closed)

Created:
10 years, 3 months ago by Markus (顧孟勤)
Modified:
9 years, 7 months ago
Reviewers:
laforge
CC:
chromium-reviews, pam+watch_chromium.org
Visibility:
Public.

Description

Merge 59579 - 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 TBR=markus@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59599

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/tools/build/linux/chrome-wrapper View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Markus (顧孟勤)
10 years, 3 months ago (2010-09-16 01:05:41 UTC) #1
Markus (顧孟勤)
10 years, 3 months ago (2010-09-16 01:13:14 UTC) #2
Followed your instructions for running "drover" and committed. This is just FYI

Powered by Google App Engine
This is Rietveld 408576698