hush: rename hush-redir/redir3.tests (ash has redir3.tests which id different)
[oweals/busybox.git] / shell / ash.c
index 946e8726edc732544f309aaaad8d237736f4afac..b7635a82332c3f108becf4a83b8f5dcb57dbaa54 100644 (file)
@@ -7613,7 +7613,9 @@ expandhere(union node *arg, int fd)
 static int
 patmatch(char *pattern, const char *string)
 {
-       return pmatch(preglob(pattern, 0), string);
+       char *p = preglob(pattern, 0);
+       //bb_error_msg("fnmatch(pattern:'%s',str:'%s')", p, string);
+       return pmatch(p, string);
 }
 
 /*