mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-01 19:37:54 +00:00
testbed-poll: Fix file glob operator
To properly detect bare sysupgrade images or not. Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
@@ -210,7 +210,8 @@ for ($i = 0; $i<@lines; $i++) {
|
||||
|
||||
# Detect if we are using full pkg or new trimmed sysupgrade image
|
||||
my $full_owrt_pkg = 0;
|
||||
if (-f "*sysupgrade*") {
|
||||
my @listing = glob("*sysupgrade*");
|
||||
if (@listing > 0) {
|
||||
print("NOTE: Found full openwrt package.\n");
|
||||
$full_owrt_pkg = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user