Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Jani Nikula <jani.nikula@intel.com>,
	daniel.vetter@ffwll.ch, architt@codeaurora.org
Subject: [dim PATCH] dim: restore cd in update_rerere_cache()
Date: Tue, 18 Jul 2017 10:15:25 +0300	[thread overview]
Message-ID: <20170718071525.13376-1-jani.nikula@intel.com> (raw)

The refactoring dropped a cd to the drm-rerere dir, leading to "cp:
cannot stat 'rr-cache/*': No such file or directory" on dim ub.

Reported-by: Archit Taneja <architt@codeaurora.org>
Fixes: 599eb3db59c9 ("dim: Move all rerere updating into helpers")
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 dim | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dim b/dim
index 1fcd8d73fe1e..6ba2c085be16 100755
--- a/dim
+++ b/dim
@@ -495,6 +495,7 @@ function update_rerere_cache
 {
 	echo -n "Updating rerere cache... "
 
+	cd $DIM_PREFIX/drm-rerere/
 	git pull
 	mkdir $(rr_cache_dir) &> /dev/null || true
 	cp rr-cache/* $(rr_cache_dir) -r --preserve=timestamps
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2017-07-18  7:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-18  7:15 Jani Nikula [this message]
2017-07-18  7:50 ` [dim PATCH] dim: restore cd in update_rerere_cache() Daniel Vetter
2017-07-18  7:52   ` Archit Taneja
2017-07-18  8:06     ` Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170718071525.13376-1-jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=architt@codeaurora.org \
    --cc=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox