On Mon, Sep 28, 2015 at 02:49:14PM +0300, Kaarle Ritvanen wrote:
> Signed-off-by: Kaarle Ritvanen <kaarle.ritva...@datakunkku.fi>

Acked-by: Stéphane Graber <stgra...@ubuntu.com>

> ---
>  templates/lxc-alpine.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
> index 6dcc51b..d62f891 100644
> --- a/templates/lxc-alpine.in
> +++ b/templates/lxc-alpine.in
> @@ -109,7 +109,7 @@ install_alpine() {
>      else
>          cp /etc/apk/repositories "$rootfs"/etc/apk/repositories || return 1
>          if [ -n "$release" ]; then
> -            sed -i -e "s:/[^/]\+/\([^/]\+\)$:/$release/\1:" \
> +            sed -E -i "s:/[^/]+/([^/]+)$:/$release/\\1:" \
>                  "$rootfs"/etc/apk/repositories
>          fi
>      fi
> -- 
> 2.1.0
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to