debian-rules-calls-pwd
The debian/rules
file for this package appears to use the
variable $(PWD) to refer to the current directory. This variable is not
set by GNU make and therefore will have whatever value it has in the
environment, which may not be the actual current directory. Some ways of
building Debian packages (such as through sudo) will clear the PWD
environment variable.
Instead of $(PWD), use $(CURDIR), which is set by GNU make, ignores the environment, and is guaranteed to always be set.
Severity: | warning |
Experimental: | false |
Renamed from: | debian-rules-should-not-use-pwd |
See also
- list of all the affected packages
- the source of this tag