diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-09-02 21:27:33 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-09-02 21:27:33 (EDT) |
commit | 0a9cf0aeac01657cc6f55946b84ca8b61fe6353f (patch) | |
tree | 31930f5ac9dde240fb7323f96253cfd5c6b8720b /lib/pkg.sh | |
parent | e1274045ece68af95e5a5991313aad1e90b99374 (diff) |
cmd/build: Don't make builddeps dirs if no B-D
Removal of builddeps dirs only happens if there are no build
dependencies. The same must be true of creation of builddeps dirs.
Fixes issues like:
pj@debian-x60t:~/proteanos/pkg/expat$ cat control
Maintainer: "J. Random Hacker" <jrandom@example.com>
# Build-Depends: opkhelper-3.0
Homepage: http://expat.sourceforge.net/
pj@debian-x60t:~/proteanos/pkg/expat$ sudo prokit build $root -b -c -T nop .
opkbuild: Detecting architecture and platform...
opkbuild: Making work area...
opkbuild: Parsing package metadata...
opkbuild: Build system:
opkbuild: Architecture: i686-linux-glibc
opkbuild: Platform: dev
opkbuild: Host system:
opkbuild: Architecture: i686-linux-glibc
opkbuild: Platform: dev
ob-checkbuilddeps: Checking build dependencies...
ob-buildenv: Setting up build environment...
ob-unpacksource: Extracting upstream source archive...
ob-applypatches: No patches to be applied
ob-installplatconf: No config files to be copied
mv: cannot move `../root/prokit/build.1556949533/builddeps' to `./../builddeps': Directory not empty
rmdir: failed to remove `../root/prokit/build.1556949533': Directory not empty
Diffstat (limited to 'lib/pkg.sh')
0 files changed, 0 insertions, 0 deletions