OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # Running Chromium via this script makes it possible to set Chromium as the | 7 # Running Chromium via this script makes it possible to set Chromium as the |
8 # default browser directly out of a compile, without needing to package it. | 8 # default browser directly out of a compile, without needing to package it. |
9 | 9 |
10 DESKTOP="chromium-devel" | 10 DESKTOP="chromium-devel" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 *:$HERE:*) | 53 *:$HERE:*) |
54 # $PATH already contains $HERE | 54 # $PATH already contains $HERE |
55 ;; | 55 ;; |
56 *) | 56 *) |
57 # Append $HERE to $PATH | 57 # Append $HERE to $PATH |
58 export PATH="$PATH:$HERE" | 58 export PATH="$PATH:$HERE" |
59 ;; | 59 ;; |
60 esac | 60 esac |
61 | 61 |
62 # Always use our ffmpeg and other shared libs. | 62 # Always use our ffmpeg and other shared libs. |
63 export LD_LIBRARY_PATH="$HERE:$HERE/lib:$LD_LIBRARY_PATH" | 63 export LD_LIBRARY_PATH="$HERE:$HERE/lib:$HERE/lib.target:$LD_LIBRARY_PATH" |
64 | 64 |
65 exists_desktop_file || generate_desktop_file | 65 exists_desktop_file || generate_desktop_file |
66 | 66 |
67 exec "$HERE/chrome" "$@" | 67 exec "$HERE/chrome" "$@" |
OLD | NEW |