Message ID | 20100421132734.GF3045@shadowen.org |
---|---|
State | Accepted |
Delegated to: | Andy Whitcroft |
Headers | show |
Hi Andy, > +flavour=${version#*-} > +flavour=${flavour#*-} > +version=${version%-$flavour} Looks good. Acked-By: Jeremy Kerr <jeremy.kerr@canonical.com> Cheers, Jeremy
Applied to Lucid. -apw
diff --git a/debian/tools/perf b/debian/tools/perf index 1a9915f..79253d2 100644 --- a/debian/tools/perf +++ b/debian/tools/perf @@ -1,4 +1,7 @@ #!/bin/bash version=`uname -r` -version=${version%-*} +flavour=${version#*-} +flavour=${flavour#*-} +version=${version%-$flavour} + exec "perf_$version" "$@"