Skip to content

Commit

Permalink
Initializing NOT_FOUND prior to entering loop, to avoid error using /…
Browse files Browse the repository at this point in the history
…bin/sh on Solaris
  • Loading branch information
dcj committed Apr 13, 2011
1 parent d055f28 commit 735201e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/lein
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ if [ `whoami` = "root" ] && [ "$LEIN_ROOT" = "" ]; then
read _
fi

NOT_FOUND=1
ORIGINAL_PWD="$PWD"
while [ ! -r "$PWD/project.clj" ] && [ "$PWD" != "/" ] && [ ! $NOT_FOUND ]
do
Expand Down

0 comments on commit 735201e

Please sign in to comment.