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 <[email protected]>
---
 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



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13506): 
https://lists.yoctoproject.org/g/meta-arago/message/13506
Mute This Topic: https://lists.yoctoproject.org/mt/88995781/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to