[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reducing chroot count to 4 -- using aliases



On Thu, Aug 15, 2013 at 13:01:11 +0200, Christoph Egger wrote:

> Moin!
> 
>   Was faster than expected. The diff below is 1:1 running on fano right
> now. It allows correct SUITE_VARIANT detection on !linux and does the
> alias thing.
> 
>   Christoph
> 
> --- 99builddsourceslist~	2013-08-15 10:13:20.000000000 +0000
> +++ 99builddsourceslist	2013-08-15 10:58:10.000000000 +0000
> @@ -27,17 +27,23 @@
>  . "$SETUP_DATA_DIR/common-config"
>  
>  if [ "$CHROOT_SESSION_PURGE" = "true" ]; then
> -    case $CHROOT_NAME in
> -        *-*-*-*-sbuild*)
> -        SUITE_BASE=$(echo $CHROOT_NAME | cut -f1 -d-)
> -        SUITE_VARIANT=$(echo $CHROOT_NAME | cut -f2,3 -d-)
> +    if [ "LINUX" != "`uname`" ]; then

Shouldn't that be "Linux"?

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: