6e771a1ce9
Change-Id: I0a2678a5b141ab52597860380df7d44fd1f1db74 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/338381 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Ömer Ağacan <omersa@google.com>
20 lines
498 B
Bash
Executable File
20 lines
498 B
Bash
Executable File
#!/usr/bin/env 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/js "$@"
|
|
;;
|
|
*[Ll]inux*)
|
|
exec $JSDIR/js "$@"
|
|
;;
|
|
*)
|
|
echo No jsshell binary for $(uname) >2
|
|
exit 1
|
|
;;
|
|
esac
|