OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 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 # Script to build valgrind for use with chromium | 7 # Script to build valgrind for use with chromium |
8 # | 8 # |
9 # Can also be used to just prepare patched source tarball with MAKE_TARBALL=yes | 9 # Can also be used to just prepare patched source tarball with MAKE_TARBALL=yes |
10 # or to just build from a patched source tarball with USE_TARBALL=yes. | 10 # or to just build from a patched source tarball with USE_TARBALL=yes. |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 # Don't use sudo if we own the destination | 202 # Don't use sudo if we own the destination |
203 if test -w "${parent_of_prefix}" | 203 if test -w "${parent_of_prefix}" |
204 then | 204 then |
205 make install | 205 make install |
206 else | 206 else |
207 sudo make install | 207 sudo make install |
208 fi | 208 fi |
209 | 209 |
210 cd .. | 210 cd .. |
211 fi | 211 fi |
OLD | NEW |