Fix red: broken tools/addtargetdir.pl

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21832 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andrew Mahone 2009-07-13 01:15:39 +00:00
parent 668a769ca4
commit c7e12872a7

View file

@ -23,7 +23,6 @@ my $src;
# Split the input file on any runs of '\' and whitespace.
for (split(/[\s\\]+/m, <STDIN>)) {
/^(\/)?[^:]+(\:)?$/;
print ">>$& $src"
# Save target and continue if this item ends in ':'
if (!($2 && ($target=$&))) {
$src = $&;