From e2cd2c1e7be4e28eeb5186ad4d7ca2a1422a3c4b Mon Sep 17 00:00:00 2001
From: Robert Nelson <robertcnelson@gmail.com>
Date: Mon, 24 Feb 2014 13:44:25 -0600
Subject: [PATCH] bb.org: cloud9 ide patch, helps to be in the correct dir

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
---
 target/chroot/beagleboard.org.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/chroot/beagleboard.org.sh b/target/chroot/beagleboard.org.sh
index e03437b18..800c3c2f6 100755
--- a/target/chroot/beagleboard.org.sh
+++ b/target/chroot/beagleboard.org.sh
@@ -213,7 +213,9 @@ install_repos () {
 	chown -R ${user_name}:${user_name} /opt/cloud9/
 
 	if [ -f /opt/scripts/mods/cloud9-systemd-fix.diff ] ; then
+		cd /opt/cloud9/
 		patch -p1 < /opt/scripts/mods/cloud9-systemd-fix.diff
+		cd /opt/
 	fi
 
 	#git_repo="https://github.com/ajaxorg/cloud9.git"
-- 
GitLab