diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-02-20 10:17:08 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2007-02-20 10:17:08 +0000 |
commit | db51d46f254b07e68a079577cbc2b66f64efaadd (patch) | |
tree | 5deeca226c6c46d3793a91924c57b977789c1bc0 | |
parent | 34415c0c5d319d62b3cf804746092dfccc92a94c (diff) | |
download | quilt-db51d46f254b07e68a079577cbc2b66f64efaadd.tar.gz |
test/run: Don't attempt to remove comments from command lines. We don't
put such comments in our test cases, and it prevents legitimate uses of
the "#" character (e.g. in a string, inside quotes) in commands.
-rw-r--r-- | quilt.changes | 8 | ||||
-rwxr-xr-x | test/run | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/quilt.changes b/quilt.changes index a14c0e0..d97a448 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Tue Feb 20 11:12:05 CET 2007 - khali@linux-fr.org + +- test/run: Don't attempt to remove comments from command lines. + We don't put such comments in our test cases, and it prevents + legitimate uses of the "#" character (e.g. in a string, inside + quotes) in commands. + +------------------------------------------------------------------- Tue Feb 13 21:09:37 CET 2007 - khali@linux-fr.org - Update the Japanese translation. Patch from Yasushi Shoji. @@ -55,7 +55,6 @@ for (;;) { $prog_line = 0; } if ($line =~ s/^\s*\$ ?//) { - $line =~ s/\s+#.*//; # remove comments here... $prog = [ map { s/\\(.)/$1/g; $_ } split /(?<!\\)\s+/, $line ]; $prog_line = $lineno; $in = []; |