Search
j0ke.net Open Build Service
>
Projects
>
GFS
>
kernel-source
> get_release_number.sh
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File get_release_number.sh of Package kernel-source (Revision 13)
Currently displaying revision
13
,
show latest
#! /bin/sh prefix= suffix= if [ "$3" = kernel-dummy -o -n "$suffix" ]; then [ -n "$suffix" ] || suffix=$2 while [ "$suffix" != "${suffix#[^0-9]*.}" ]; do suffix=${suffix#[^0-9]*.} done echo $prefix$suffix else echo "pkg:kernel-dummy" fi