debian/rules: Avoid using $(PWD) variable.
authorDebian Janitor <janitor@jelmer.uk>
Mon, 8 Jun 2020 19:03:10 +0000 (19:03 +0000)
committerHans van Kranenburg <hans@knorrie.org>
Thu, 17 Sep 2020 18:54:29 +0000 (20:54 +0200)
Fixes: lintian: debian-rules-should-not-use-pwd
See-also: https://lintian.debian.org/tags/debian-rules-should-not-use-pwd.html

debian/rules

index 6d0a0568b8dd820be01d31b425352cb8a8d6be1c..0d902c9ff81f6b2d2af56017b1d4d249bd1f6e2d 100755 (executable)
@@ -128,7 +128,7 @@ export WGET=/bin/false GIT=/bin/false
 
 # Other build flags etc.
 
-t=$(PWD)/debian/tmp
+t=$(CURDIR)/debian/tmp
 
 dpkg_CFLAGS   := $(shell $(dbmo) dpkg-buildflags --get CFLAGS)
 dpkg_CPPFLAGS := $(shell $(dbmo) dpkg-buildflags --get CPPFLAGS)