Chromium Code Reviews| Index: tools/testing/bin/jsshell |
| =================================================================== |
| --- tools/testing/bin/jsshell (revision 0) |
| +++ tools/testing/bin/jsshell (revision 0) |
| @@ -0,0 +1,18 @@ |
| +#!/bin/bash |
| +# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| +# for details. All rights reserved. Use of this source code is governed by a |
| +# BSD-style license that can be found in the LICENSE file. |
| + |
| + |
| +case $OSTYPE in |
| + *[Dd]arwin*) |
| + exec ${0%/*}/../../../third_party/firefox_jsshell/macos/js "$@" |
| + ;; |
| + *[Ll]inux*) |
| + LD_LIBRARY_PATH=${0%/*}/../../../third_party/firefox_jsshell/linux/ exec ${0%/*}/../../../third_party/firefox_jsshell/linux/js "$@" |
|
ahe
2012/10/05 12:46:45
Wrap line with \ (backslash)
ricow1
2012/10/05 12:49:56
Done.
|
| + ;; |
| + *) |
| + echo No jsshell binary for $(uname) >2 |
| + exit 1 |
| + ;; |
| +esac |
| Property changes on: tools/testing/bin/jsshell |
| ___________________________________________________________________ |
| Added: svn:executable |
| + * |