File: version

package info (click to toggle)
rserve 1.7-3.1-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 2,500 kB
  • sloc: ansic: 7,677; java: 4,693; cpp: 1,761; php: 208; makefile: 121; sh: 30
file content (8 lines) | stat: -rwxr-xr-x 167 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#!/bin/sh

VER=`sed -n 's/.*Rserve v\([0-9.\-]*\).*/\1/p' src/Rsrv.h|head -n 1`
if test "x$1" = "x-f"; then 
    echo "Rserve_${VER}.tar.gz"
else
    echo "${VER}"
fi