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