File: idegen.sh

package info (click to toggle)
android-platform-development 7.0.0%2Br33-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 30,092 kB
  • sloc: ansic: 161,291; java: 15,681; cpp: 7,721; xml: 6,419; python: 5,456; sh: 1,748; lisp: 261; ruby: 183; asm: 132; perl: 88; makefile: 22
file content (13 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

if [ ! -d development ]; then
    echo "Error: Run from the root of the tree."
    exit 1
fi

idegenjar=`find out -name idegen.jar -follow | grep -v intermediates`
if [ "" = "$idegenjar" ]; then
    echo "Couldn't find idegen.jar. Please run make first."
else 
    java -cp $idegenjar Main
fi