Set $remote before using it.

Signed-off-by: Jani Nikula <jani.nik...@intel.com>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dim b/dim
index 6bbbec1cc0a3..ebb4fa97f45a 100755
--- a/dim
+++ b/dim
@@ -439,8 +439,8 @@ function dim_rebuild_tip
                exit 1
        fi
 
-       echo -n "Fetching drm-tip (local remote $remote)... "
        remote=$(url_to_remote $drm_tip_ssh)
+       echo -n "Fetching drm-tip (local remote $remote)... "
        git_fetch_helper $remote
        echo "Done."
 
-- 
2.1.4

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

Reply via email to