mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 23:36:07 -05:00
41 lines
621 B
Bash
Executable file
41 lines
621 B
Bash
Executable file
#! /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"
|