From patchwork Sat Aug 19 18:56:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jasmin J." X-Patchwork-Id: 43331 Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dj8vK-00051t-Uy; Sat, 19 Aug 2017 18:56:43 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751337AbdHSS4j (ORCPT + 1 other); Sat, 19 Aug 2017 14:56:39 -0400 Received: from mail.anw.at ([195.234.101.228]:39829 "EHLO mail.anw.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751171AbdHSS4i (ORCPT ); Sat, 19 Aug 2017 14:56:38 -0400 Received: from hoppel.217.196.72.190 (anwhome.anw.at [195.234.103.23]) by mail.anw.at (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v7JIuaeh001667; Sat, 19 Aug 2017 20:56:36 +0200 From: "Jasmin J." To: linux-media@vger.kernel.org Cc: hverkuil@xs4all.nl, d.scheller@gmx.net, jasmin@anw.at Subject: [PATCH] build: Added missing "DESTDIR" Date: Sat, 19 Aug 2017 20:56:33 +0200 Message-Id: <1503168993-23078-1-git-send-email-jasmin@anw.at> X-Mailer: git-send-email 2.7.4 X-Antivirus: checked in 0.017sec at mail.anw.at ([195.234.102.72]) by smf-clamd v1.2.1 - http://smfs.sf.net/ Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Jasmin Jessich Directory "$DESTDIR" was missing in the "Removing obsolete files" output. The executed code was correct. Signed-off-by: Jasmin Jessich --- v4l/scripts/make_makefile.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ";