unbreak library probes on non-Win32
authorTony Cook <tony@develop-help.com>
Sun, 23 Oct 2011 00:53:11 +0000 (11:53 +1100)
committerTony Cook <tony@develop-help.com>
Sun, 23 Oct 2011 00:53:11 +0000 (11:53 +1100)
FT2/inc/Devel/CheckLib.pm
GIF/inc/Devel/CheckLib.pm
JPEG/inc/Devel/CheckLib.pm
PNG/inc/Devel/CheckLib.pm
T1/inc/Devel/CheckLib.pm
TIFF/inc/Devel/CheckLib.pm
W32/inc/Devel/CheckLib.pm
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);
     } 
 }
 
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);
     } 
 }
 
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);
     } 
 }
 
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);
     } 
 }
 
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);
     } 
 }
 
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);
     } 
 }
 
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);
     } 
 }
 
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);
     } 
 }