[PATCH] scripts/build.sh: Fixed local build to use the correct repository path


Timo Mueller <mail@...>
 

From: Timo Mueller <timo.mueller@...>


Signed-off-by: Timo Mueller <timo.mueller@...>
---
scripts/build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/build.sh b/scripts/build.sh
index 54081d5..8d8b4c3 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -115,7 +115,7 @@ mkdir ${BUILD_DIR} || fail $? "Create temporary build directory ${BUILD_DIR}"
GIT_URL=git://git.pokylinux.org/eclipse-poky.git
if [ $USE_LOCAL_GIT_REPO -eq 1 ]; then
SCRIPT_DIR=`dirname $0`
- GIT_DIR=`readlink -f ${SCRIPTDIR}\..`
+ GIT_DIR=`readlink -f ${SCRIPT_DIR}\..`
GIT_URL="file://${GIT_DIR}"
fi

--
1.7.11.7

Join yocto@lists.yoctoproject.org to automatically receive all group messages.