Skip to content

Commit 99c7a3e

Browse files
committed
FIX: Don't rebuild django if it is already there
1 parent 111bfbb commit 99c7a3e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

recipes/django/recipe.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ function prebuild_django() {
1111
true
1212
}
1313

14+
function shouldbuild_django() {
15+
if [ -d "$SITEPACKAGES_PATH/django" ]; then
16+
DO_BUILD=0
17+
fi
18+
}
19+
1420
function build_django() {
1521
cd $BUILD_django
1622
push_arm

0 commit comments

Comments
 (0)