File: version

package info (click to toggle)
rjava 0.9-11-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,744 kB
  • sloc: java: 13,040; ansic: 5,169; sh: 3,624; xml: 291; makefile: 250; perl: 33
file content (8 lines) | stat: -rwxr-xr-x 161 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
#!/bin/sh

VER=`awk -v ORS= '/rJava v/ { print substr($6,2) }' src/rJava.h`
if test "$1" == "-f"; then 
    echo "rJava_${VER}.tar.gz"
else
    echo "${VER}"
fi