Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 6 | 5 if [ -d "$3" ]; then |
| 7 # Test whether or not the current desktop is virtual Me2Me. | 6 rm -rf $3 |
| 8 | 7 fi |
| 9 [ -n "$CHROME_REMOTE_DESKTOP_SESSION" ] | 8 if [ -e "$4" ]; then |
| 9 rm -f $4 | |
| 10 fi | |
| 11 mkdir -p $3 | |
| 12 $1 --proto_path $2 --java_out $3 "${@:5}" | |
| 13 touch $4 | |
|
Ryan Sleevi
2012/10/30 00:50:43
Seems like you will want to get someone with bash
nyquist
2012/10/31 17:49:33
Changed to use Python.
| |
| OLD | NEW |