1 if [ -e "$NIX_ATTRS_SH_FILE" ]; then .
"$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh
]; then . .attrs.sh
; fi
8 mkdir
-p $out/lib
/antlr
11 cp *.jar
$out/lib
/antlr
14 for jar
in $out/lib
/antlr
/*.jar
; do
15 classpath
="$classpath:$jar"
18 cat > $out/bin
/antlr
<<EOF
21 $jre/bin/java -cp $classpath -Xms200M -Xmx400M org.antlr.Tool \$*
24 chmod u
+x
$out/bin
/antlr