Ignores install-directory for programs/libraries
Bug #1162325 reported by
Adam Dingle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bake |
Fix Released
|
Medium
|
Unassigned |
Bug Description
bake apparently ignores the install directory I specify for a program or library. Here's a simple Recipe:
===
package.name = test
package.version = 0.0.1
programs.test {
sources = test.vala
install-
}
===
When I build, bake attempts to install in /usr/bin, not /a/b/c:
$ bake install
MKDIR /usr/bin
CP test /usr/bin/test
cp: cannot create regular file ‘/usr/bin/test’: Permission denied
cp test /usr/bin/test
[Command exited with return value 1]
[Build failed]
$
Related branches
Changed in bake: | |
status: | Triaged → Fix Committed |
Changed in bake: | |
milestone: | none → 0.1.14 |
To post a comment you must log in.
Actually I've found that if I specify a binary-directory at top level, Bake will install there:
===
package.name = test
package.version = 0.0.1
binary- directory= /a/b/c
programs.test {
sources = test.vala
}
===
$ bake install
MKDIR /a/b/c
mkdir: cannot create directory ‘/a’: Permission denied
mkdir -p /a/b/c
[Command exited with return value 1]
[Build failed]
$
Is this just a documentation bug? In other words, is the existing behavior correct?