Chromium Code Reviews
|
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/bash --posix | |
|
ahe
2013/03/11 10:14:52
Any reason for the --posix parameter?
ahe
2013/03/11 10:14:52
I don't understand why this file is not in sdk/bin
ricow1
2013/03/12 08:41:41
I don't think we are ready to ship this yet
ricow1
2013/03/12 08:41:41
removed
ahe
2013/03/12 08:47:35
Perhaps you could exclude the file in create_sdk.
| |
| 2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
| 3 # for details. All rights reserved. Use of this source code is governed by a | |
| 4 # BSD-style license that can be found in the LICENSE file. | |
| 5 | |
| 6 # This file is copied to the output of the analyzer under bin/ | |
|
ahe
2013/03/11 10:14:52
This is not a good overall description of this fil
ricow1
2013/03/12 08:41:41
Done.
| |
| 7 set -e | |
| 8 | |
| 9 SCRIPT_DIR="$(cd "${0%/*}" ; pwd)" | |
|
ahe
2013/03/11 10:14:52
This doesn't work with symlinks. I'd start with s
ricow1
2013/03/12 08:41:41
Done.
| |
| 10 JAR_DIR="$(cd "${SCRIPT_DIR%/*}" ; pwd)" | |
|
kustermann
2013/03/11 10:15:33
Add a comment here what this does and why we do it
| |
| 11 JAR_FILE="$JAR_DIR/new_analyzer.jar" | |
| 12 | |
| 13 exec java -jar $JAR_FILE | |
| OLD | NEW |