diff mbox

build: Added missing "DESTDIR"

Message ID 1503168993-23078-1-git-send-email-jasmin@anw.at (mailing list archive)
State New, archived
Headers show

Commit Message

Jasmin J. Aug. 19, 2017, 6:56 p.m. UTC
From: Jasmin Jessich <jasmin@anw.at>

Directory "$DESTDIR" was missing in the "Removing obsolete files"
output. The executed code was correct.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
---
 v4l/scripts/make_makefile.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/v4l/scripts/make_makefile.pl b/v4l/scripts/make_makefile.pl
index aa7d5e8..5f2db9c 100755
--- a/v4l/scripts/make_makefile.pl
+++ b/v4l/scripts/make_makefile.pl
@@ -163,7 +163,7 @@  sub getobsolete()
 sub removeobsolete()
 {
 	while ( my ($dir, $files) = each(%obsolete) ) {
-		print OUT "\t\@echo \"\\nRemoving obsolete files from \$(KDIR26)/$dir:\"\n";
+		print OUT "\t\@echo \"\\nRemoving obsolete files from \$(DESTDIR)\$(KDIR26)/$dir:\"\n";
 		print OUT "\t\@files='", join(' ', keys %$files), "'; ";
 
 		print OUT "for i in \$\$files;do if [ -f \"\$(DESTDIR)\$(KDIR26)/$dir/\$\$i\" ]; then ";