unbreak library probes on non-Win32
[imager.git] / inc / Devel / CheckLib.pm
index c396ee4..9bd00d0 100644 (file)
@@ -420,7 +420,7 @@ sub _shellwords {
        return @elements;
     }
     else {
-       return quotewords('\s+', 0, shift);
+       return grep defined && /\S/, quotewords('\s+', 0, $line);
     } 
 }