Re: lein deps gets error

2011-08-12 Thread Ken Wesson
On Fri, Aug 12, 2011 at 6:53 PM, jayvandal  wrote:
> I do a lein new hello_world and I get a directory called hello_world.
> I then try "lein deps".
> I get several lines of errors starting with "#!"
> What am I doing wrong?
> =
>
> Microsoft Windows [Version 6.0.6002]
> Copyright (c) 2006 Microsoft Corporation.  All rights reserved.
>
> C:\>cd cl*
>
> C:\clojure-1.2.1>cd h*
>
> C:\clojure-1.2.1\helloworld>lein deps
>
> C:\clojure-1.2.1\helloworld>#!/bin/sh
> '#!' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\clojure-1.2.1\helloworld>LEIN_VERSION="1.6.1"
> 'LEIN_VERSION' is not recognized as an internal or external command,
> operable program or batch file.

...

Looks like you're trying to run the unix version on windows.

-- 
Protege: What is this seething mass of parentheses?!
Master: Your father's Lisp REPL. This is the language of a true
hacker. Not as clumsy or random as C++; a language for a more
civilized age.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


lein deps gets error

2011-08-12 Thread jayvandal
I do a lein new hello_world and I get a directory called hello_world.
I then try "lein deps".
I get several lines of errors starting with "#!"
What am I doing wrong?
=

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\>cd cl*

C:\clojure-1.2.1>cd h*

C:\clojure-1.2.1\helloworld>lein deps

C:\clojure-1.2.1\helloworld>#!/bin/sh
'#!' is not recognized as an internal or external command,
operable program or batch file.

C:\clojure-1.2.1\helloworld>LEIN_VERSION="1.6.1"
'LEIN_VERSION' is not recognized as an internal or external command,
operable program or batch file.

C:\clojure-1.2.1\helloworld>export LEIN_VERSION
'export' is not recognized as an internal or external command,
operable program or batch file.

C:\clojure-1.2.1\helloworld>case $LEIN_VERSION in
'case' is not recognized as an internal or external command,
operable program or batch file.

C:\clojure-1.2.1\helloworld>*SNAPSHOT) SNAPSHOT="YES" ;;
'*SNAPSHOT)' is not recognized as an internal or external command,
operable program or batch file.

C:\clojure-1.2.1\helloworld>*) SNAPSHOT="NO" ;;
'*)' is not recognized as an internal or external command,
operable program or batch file.

C:\clojure-1.2.1\helloworld>esac
'esac' is not recognized as an internal or external command,
operable program or batch file.

C:\clojure-1.2.1\helloworld># Make sure classpath is in unix format
for manipula
ting, then put
'#' is not recognized as an internal or external command,
operable program or batch file.

C:\clojure-1.2.1\helloworld># it back to windows format when we use it
'#' is not recognized as an internal or external command,
operable program or batch file.
"$OSTYPE" was unexpected at this time.

C:\clojure-1.2.1\helloworld>if [ "$OSTYPE" = "cygwin" ] &&
[ "$CLASSPATH" != ""
]; then

C:\clojure-1.2.1\helloworld>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en