qrush / sub

a delicious way to organize programs
http://37signals.com/svn/posts/3264-automating-with-convention-introducing-sub
MIT License
1.74k stars 148 forks source link

Your sub can't be called 'sub' #1

Closed leejarvis closed 11 years ago

leejarvis commented 11 years ago

sub fails with the command mv: rename share/sub to share/sub/sub: Invalid argument if you name your sub 'sub'. I'm not sure of your intentions but if that name is not allowed, it should fail early with an error message

qrush commented 11 years ago

Nice catch! The prepare script should just skip all of the renaming stuff if you want a sub named sub.

On Friday, September 28, 2012 at 11:01 AM, Lee Jarvis wrote:

sub fails with the command mv: rename share/sub to share/sub/sub: Invalid argument if you name your sub 'sub'. I'm not sure of your intentions but if that name is not allowed, it should fail early with an error message

— Reply to this email directly or view it on GitHub (https://github.com/37signals/sub/issues/1).