[Intel-gfx] [dim PATCH] dim: cd to dim repo in list-upstreams

Daniel Vetter daniel at ffwll.ch
Thu Oct 5 17:09:11 UTC 2017


On Thu, Oct 05, 2017 at 11:53:04AM +0300, Jani Nikula wrote:
> Don't assume current directory works.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

On all 6 + this patch here:

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>

Thanks for doing this de-dusting.
-Daniel

> ---
>  dim | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/dim b/dim
> index d4c0b72abf6e..79e4fbddd6e1 100755
> --- a/dim
> +++ b/dim
> @@ -1751,6 +1751,8 @@ function dim_list_upstreams
>  {
>  	local dim_drm_upstream_remote
>  
> +	cd $DIM_PREFIX/$DIM_REPO
> +
>  	dim_drm_upstream_remote=$(repo_to_remote drm-upstream)
>  
>  	echo origin/master
> -- 
> 2.11.0
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list