79b6d81dd2
BUG= R=ricow@google.com Review URL: https://codereview.chromium.org/1544463002 .
21 lines
568 B
Bash
Executable File
21 lines
568 B
Bash
Executable File
#!/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.
|
|
|
|
JSDIR=${0%/*}/../../../third_party/firefox_jsshell
|
|
|
|
case $OSTYPE in
|
|
*[Dd]arwin*)
|
|
exec $JSDIR/mac/jsshell/js "$@"
|
|
;;
|
|
*[Ll]inux*)
|
|
LD_LIBRARY_PATH=$JSDIR/linux/jsshell/ \
|
|
exec $JSDIR/linux/jsshell/js "$@"
|
|
;;
|
|
*)
|
|
echo No jsshell binary for $(uname) >2
|
|
exit 1
|
|
;;
|
|
esac
|