2008-07-18 12:15:21 +02:00
|
|
|
#! /bin/sh
|
2009-03-11 18:32:13 +01:00
|
|
|
prefix=rc7.
|
2008-07-18 12:15:21 +02:00
|
|
|
suffix=
|
2009-03-13 13:36:08 +01:00
|
|
|
commit=5518decb
|
2009-03-11 18:32:13 +01:00
|
|
|
[ -n "$suffix" ] || suffix=$2
|
|
|
|
while [ "$suffix" != "${suffix#[^0-9]*.}" ]; do
|
|
|
|
suffix=${suffix#[^0-9]*.}
|
|
|
|
done
|
|
|
|
echo $prefix$suffix${commit:+_}$commit
|