]> git.donarmstrong.com Git - debhelper.git/commit
remove _mkdir, use mkdir -p
authorJoey Hess <joey@gnu.kitenet.net>
Mon, 20 Apr 2009 18:33:00 +0000 (14:33 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Mon, 20 Apr 2009 18:33:00 +0000 (14:33 -0400)
commit8bc41beed81ddc5ad864c7387bf61cac85ca739c
treed1c3fe6cde811ae1a8acd3a9c4c0812946dda555
parenta4d098bce5a9a339e5768b23ecbdb2cf448b233b
remove _mkdir, use mkdir -p

_mkdir is not necessary, because mkdir's error messages are good enough
if a file by the name of the directory exists ("cannot create directory: File
exists"), or if a file is where the parent directory should be ("cannot
create directory: Not a directory")

Using mkdir -p seems useful, in case someone wants a deeply nested
builddir.

This also changes the return value of mkdir_builddir, but nothing currently
tests it.
Debian/Debhelper/Dh_Buildsystem.pm