ticket.cgi - gophercgis - Collection of gopher CGI/DCGI for geomyidae
(HTM) hg clone https://bitbucket.org/iamleot/gophercgis
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
icket.cgi
---
1 #!/bin/sh
2
3 . ../common/config.sh
4
5 branch="${2%%/*}"
6 ticket="${2##*/}"
7
8 case "${branch}" in
9 pkgsrc| 7 | 8 | 9 )
10 ;;
11 *)
12 exit 1
13 ;;
14 esac
15
16 case "${ticket}" in
17 [0-9]*)
18 ;;
19 *)
20 exit 1
21 ;;
22 esac
23
24 url="http://releng.netbsd.org/cgi-bin/req-${branch}.cgi?show=${ticket}"
25 curl -Lgs -- "${url}"