taw comments on Tool ideology - Less Wrong

25 Post author: PhilGoetz 09 September 2011 10:37PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (66)

You are viewing a single comment's thread. Show more comments above.

Comment author: taw 18 September 2011 12:38:12AM 0 points [-]

"mkdir -p" before each cd

Why are you using cd at all? You use mkdir -p before creating temporary files, and never randomly cd.

Anyway, this thread isn't really getting anywhere.

Comment author: vi21maobk9vp 18 September 2011 07:13:25AM 0 points [-]

Somehow, most buildsystems for complex packages run make with changing working directories. Even in single script using subshells, it is trivial to save some effort with changing directories without complicating the code.

It is a deployment helper, not a single-package build system, so it has to do some work with numerous checkouts of dependencies. It is more natural to write some parts of code to run inside working directories of individual packages.