Skip to content

Commit c7904e1

Browse files
committed
If KIVY_DIR is defined, use the the kivy dir at the $KIVY_DIR location
1 parent c015a82 commit c7904e1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

recipes/kivy/recipe.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ function build_kivy() {
1717
true
1818
fi
1919

20-
cd $BUILD_kivy
20+
if [ -n $KIVY_DIR ]
21+
rm -rf $BUILD_kivy
22+
cp -rf $KIVY_DIR $BUILD_kivy
23+
rm -rf $BUILD_kivy/build/cython/tests/
24+
cd $BUILD_kivy
25+
fi
2126

2227
push_arm
2328

0 commit comments

Comments
 (0)