Skip to content

Commit 275fe1e

Browse files
committed
script: before patching, change directory
Signed-off-by: Anas Nashif <[email protected]>
1 parent c3082fe commit 275fe1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

go.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export SDK_NG_HOME=${PWD}
4141
if [ ! -d "crosstool-ng" ]; then
4242
git clone https://github.com/crosstool-ng/crosstool-ng.git
4343
echo "Patching tree"
44+
pushd crosstool-ng
4445
patch -p1 < ${GITDIR}/patches/0001-iamcu-support-x86-iamcu-ABIs.patch
46+
popd
4547
fi
4648

4749
if [ ! -e "${SDK_NG_HOME}/bin/ct-ng" ]; then

0 commit comments

Comments
 (0)