Skip to content

Commit

Permalink
Fix traversing up dir hierarchy to find project root.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed May 25, 2011
1 parent cb6fb37 commit 0335835
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion bin/lein
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi

NOT_FOUND=1
ORIGINAL_PWD="$PWD"
while [ ! -r "$PWD/project.clj" ] && [ "$PWD" != "/" ] && [ ! $NOT_FOUND ]
while [ ! -r "$PWD/project.clj" ] && [ "$PWD" != "/" ] && [ $NOT_FOUND -ne 0 ]
do
cd ..
if [ "$(dirname "$PWD")" = "/" ]; then
Expand Down
1 change: 0 additions & 1 deletion todo.org
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ See also https://github.com/technomancy/leiningen/issues
- new push task based on clj-ssh
lein-clojars task doesn't support DSA keys
* For 1.6
- [ ] investigate problems running deeper inside project dir
- [ ] suppress useless ant output in classpath calculation for :local-repo-classpath
- [ ] make :repl-init change initial ns of repl and swank
- [ ] take care of multiple versions of plugins in ~/.lein/plugins
Expand Down

0 comments on commit 0335835

Please sign in to comment.