Skip to content
This repository was archived by the owner on Aug 15, 2017. It is now read-only.

Commit 99c7a3e

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

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

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)