All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe-layersetup][master][PATCH] Fix calling path to git_retry.sh
@ 2022-02-08 13:20 Ryan Eatmon
  0 siblings, 0 replies; only message in thread
From: Ryan Eatmon @ 2022-02-08 13:20 UTC (permalink / raw)
  To: Yogesh Siraswar, Praneeth Bajjuri, Denys Dmytriyenko, meta-arago

Fix the variable that is used to find git_retry.sh.  This fixes
an issue with -b <dir> not working.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 oe-layertool-setup.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/oe-layertool-setup.sh b/oe-layertool-setup.sh
index 932ec49..85be8b0 100755
--- a/oe-layertool-setup.sh
+++ b/oe-layertool-setup.sh
@@ -336,9 +336,9 @@ clone_repo() {
     if [ -d $sourcedir/$name ]
     then
         cd $sourcedir/$name
-        $oebase/git_retry.sh fetch --all
+        $scriptdir/git_retry.sh fetch --all
     else
-        $oebase/git_retry.sh clone $uri $sourcedir/$name
+        $scriptdir/git_retry.sh clone $uri $sourcedir/$name
         if [ "$?" != "0" ]
         then
             echo "ERROR: Could not clone repository at $uri"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-08 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-08 13:20 [oe-layersetup][master][PATCH] Fix calling path to git_retry.sh Ryan Eatmon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.