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.
The tag is present in Lintian version 2.114.163
.
That is the most recent version we know about.
We use semantic versions.
The patch number is a commit step indicator relative to the
2.114.0
release tag in our Git
repository.
You can find the detection logic for this version at commit 3410a22. For merge requests, please use the latest version in the Lintian check debian/rules.
Visibility: warning
- debian-rules-should-not-use-pwd