File: idegen.sh

package info (click to toggle)
android-framework-23 6.0.1%2Br72-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 233,196 kB
  • sloc: java: 1,707,033; xml: 247,323; cpp: 211,819; ansic: 2,748; python: 2,640; sh: 1,506; yacc: 343; lex: 214; ruby: 183; perl: 88; makefile: 63; sed: 19
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