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

Timo Mueller mail at timomueller.eu
Tue Jan 22 04:03:17 PST 2013


From: Timo Mueller <timo.mueller at bmw-carit.de>


Signed-off-by: Timo Mueller <timo.mueller at bmw-carit.de>
---
 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




More information about the yocto mailing list