blob: c9dc261b564ea29aa2244365a5cbbf435ca9e874 [file] [log] [blame]
#!/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.
case $OSTYPE in
exec $JSDIR/mac/jsshell/js "$@"
LD_LIBRARY_PATH=$JSDIR/linux/jsshell/ \
exec $JSDIR/linux/jsshell/js "$@"
echo No jsshell binary for $(uname) >2
exit 1