* Command lines containing "&" need /bin/sh.
* "*" and "?" need not be escaped inside brackets in regular expressions.
---
test/run | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/test/run
+++ b/test/run
@@ -119,7 +119,7 @@ sub exec_test($$) {
my ($raw_prog, $in) = @_;
local (*IN, *IN_DUP, *IN2, *OUT_DUP, *OUT, *OUT2);
my $prog = [ shellwords($raw_prog) ];
- my $needs_shell = ($raw_prog =~ /[][|<>;`\$\*\?]/);
+ my $needs_shell = ($raw_prog =~ /[][|&<>;`\$*?]/);
if ($prog->[0] eq "umask") {
umask oct $prog->[1];
_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev