rauchg / spot

Tiny file search utility (bash)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Curl command gives an error during installation

hced opened this issue · comments

Using the provided CURL instruction renders an error for me... (OS X 10.7.4). Same result with sudo or without sudo.

May I suggest making a Homebrew package for this?

sudo curl https://raw.github.com/guille/spot/master/spot.sh -o ~/usr/local/bin/spot && chmod +x ~/usr/local/bin/spot

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file /Users/hced/usr/local/bin/spot: No such 
Warning: file or directory
100  2519  100  2519    0     0   2172      0  0:00:01  0:00:01 --:--:--  4403
curl: (23) Failed writing body (0 != 2519)
hced@hced ~ % which curl && curl --version

/usr/bin/curl
curl 7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp 
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM SSL libz

How embarrassing, I forgot to delete those little ~ chars in the path... My bad. Closing issue.

N.B. Although I think Homebrew package would be nice.

Brew would be nice indeed