]> git.proxmox.com Git - pve-kernel.git/commitdiff
d/scripts: find fw: defuse "strange directory name" to warning
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Jul 2022 11:11:50 +0000 (13:11 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Aug 2022 07:31:35 +0000 (09:31 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/scripts/find-firmware.pl

index 4d72d4e80f213249d7c9bdc0d510b7c44c9cbb63..17cdaf817e64368e79a706e8e904a407f87a5ba4 100755 (executable)
@@ -8,7 +8,7 @@ die "no directory to scan" if !$dir;
 
 die "no such directory" if ! -d $dir;
 
-die "strange directory name: $dir" if $dir !~ m|^(.*/)?(\d+.\d+.\d+\-\d+\-pve)(/+)?$|;
+warn "\n\nNOTE: strange directory name: $dir\n\n" if $dir !~ m|^(.*/)?(\d+.\d+.\d+\-\d+\-pve)(/+)?$|;
 
 my $apiver = $2;