File: version

package info (click to toggle)
rjava 1.0-11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,184 kB
  • sloc: java: 13,223; ansic: 5,479; sh: 3,776; xml: 325; makefile: 250; perl: 33
file content (8 lines) | stat: -rwxr-xr-x 155 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
#!/bin/sh

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