[Intel-gfx] [PATCH 1/2] dim: Make sure nightly.conf hasn't disappeared
Daniel Vetter
daniel.vetter at ffwll.ch
Tue Sep 26 11:45:23 UTC 2017
Suggested by Chris Wilson.
v2: Fix typo in the error msg (Chris).
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
dim | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dim b/dim
index db11d3f1cc68..69109a4f8666 100755
--- a/dim
+++ b/dim
@@ -220,6 +220,12 @@ if [ "$subcommand" != "setup" ] && [ "$subcommand" != "help" ] && [ "$subcommand
exit 1
fi
done
+ for f in $DIM_PREFIX/drm-rerere/nightly.conf; do
+ if [ ! -f $f ]; then
+ echoerr "$f is missing, please check your configuration and/or run dim setup"
+ exit 1
+ fi
+ done
fi
#
--
2.14.1
More information about the Intel-gfx
mailing list