Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix LEIN_NO_DEV support in lein1 section.

  • Loading branch information...
commit c72357751bf79836d9c77dedc48050e23d67926e 1 parent c18f7f9
@technomancy technomancy authored
Showing with 2 additions and 7 deletions.
  1. +2 −7 bin/compile
View
9 bin/compile
@@ -18,7 +18,7 @@ else
LEIN_BIN_SOURCE="$(dirname $0)/../opt/lein1"
LEIN_BUILD_TASK=${LEIN_BUILD_TASK:-"deps"}
if [ "$LEIN_DEV" = "" ]; then
- LEIN_NO_DEV=y
+ export LEIN_NO_DEV=y
fi
RLWRAP=yes
fi
@@ -77,12 +77,7 @@ if [ -x $BUILD_DIR/bin/build ]; then
echo " Found bin/build; running it instead of default lein invocation."
BUILD_COMMAND=bin/build
else
- if [ "$LEIN_NO_DEV" = "" ]; then
- BUILD_COMMAND="lein $LEIN_BUILD_TASK"
- else
- # should only happen on 1.x
- BUILD_COMMAND="LEIN_NO_DEV=$LEIN_NO_DEV lein $LEIN_BUILD_TASK"
- fi
+ BUILD_COMMAND="lein $LEIN_BUILD_TASK"
fi
echo " Running: $BUILD_COMMAND"
Please sign in to comment.
Something went wrong with that request. Please try again.