Use absolute paths when checksumming lein's own project.cljs.
This commit is contained in:
parent
dad9b14cd4
commit
80e2b20378
1 changed files with 1 additions and 1 deletions
2
bin/lein
2
bin/lein
|
@ -99,7 +99,7 @@ if [ -r "$BIN_DIR/../src/leiningen/version.clj" ]; then
|
|||
# For some reason "$0" classpath > .lein-classpath doesn't work; wtf?
|
||||
LEIN_CLASSPATH=$($0 classpath)
|
||||
echo $LEIN_CLASSPATH > .lein-classpath
|
||||
sum project.clj leiningen-core/project.clj > .lein-project-checksum
|
||||
sum $LEIN_DIR/project.clj $LEIN_DIR/leiningen-core/project.clj > .lein-project-checksum
|
||||
cd "$ORIG_PWD"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue