Skip to contentSkip to conversation

Fix calling path to git_retry.sh

PATCH New Ryan Eatmon 1 participant 1 message Feb 8, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix calling path to git_retry.sh

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

---
 oe-layertool-setup.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
oe-layertool-setup.sh +2 -2
index 932ec49..85be8b0 100755
@@ -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"
Signature · 1 line
2.17.1