1#! /bin/sh
2 
3# This script must be executed from the TLD of the source tree...
4. ./packageinfo.sh
5
6NAME="$version"
7case $point in
8 [0-9]*)
9    NAME="${NAME}p$point"
10    ;;
11 NEW) ;;
12 '') ;;
13 *) echo "Unexpected value for 'point' <$point>!"
14    exit 1
15    ;;
16esac
17
18case $special in
19 '') ;;
20 *) NAME="${NAME}-$special" ;;
21esac
22
23case $releasecandidate in
24 [Nn][Oo]) ;;
25 [Yy][Ee][Ss]) NAME="${NAME}-RC" ;;
26 *) echo "Unexpected value for 'releasecandidate' <$releasecandidate>!"
27    exit 1
28    ;;
29esac
30
31case $repotype in
32 stable)
33    case $rcpoint in
34     [0-9]*)
35	NAME="${NAME}$rcpoint"
36	;;
37    esac
38    ;;
39esac
40
41echo "$NAME"
42