[PATCH] dim: Fix maintainer-tools setup
Daniel Vetter
daniel.vetter at ffwll.ch
Thu Aug 6 05:13:44 UTC 2020
Setup instructions don't match the code anymore, ever since the split
to a separate repo we don't set it up automatically anymore. Readd
that - the right link and all was already there.
v2: 100% fewer typos (hopefully)
Reported-by: Dave Airlie <airlied at gmail.com>
Cc: Dave Airlie <airlied at gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
dim | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dim b/dim
index 1e61fe2f9ed9..de21578be050 100755
--- a/dim
+++ b/dim
@@ -2274,8 +2274,12 @@ function dim_setup
fi
if [[ ! -d "$(git_dir maintainer-tools)" ]]; then
- echoerr "No maintainer-tools git checkout found in 'maintainer-tools'."
- echoerr "dim update will not work. Please fix."
+ if ask_user "No maintainer-tools git checkout found in 'maintainer-tools'. Clone upstream?"; then
+ git clone "$maintainer_tools_https" "maintainer-tools"
+ else
+ echoerr "No maintainer-tools git checkout found in 'maintainer-tools'."
+ echoerr "dim update will not work. Please fix."
+ fi
fi
setup_aux_checkout rerere-cache $drm_tip_ssh drm-rerere
--
2.28.0
More information about the dim-tools
mailing list