kbuild: fix sed error in export_report.pl
PATCH 1/1 kbuild: fix sed error in export_report.pl
This patch fixes a sed error in export_report.pl by escaping a $.
--- scripts/export_report.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/export_report.pl +1 -1
@@ -50,7 +50,7 @@ sub usage { sub collectcfiles { my @file - = `cat .tmp_versions/*.mod | grep '.*\.ko\$' | sed s/\.ko$/.mod.c/`; + = `cat .tmp_versions/*.mod | grep '.*\.ko\$' | sed s/\.ko\$/.mod.c/`; chomp @file; return @file; }
Signature · 1 line
1.7.5.rc1
Hi,
Quoted 2 lines · Peter Foley
This patch fixes a sed error in export_report.pl by escaping a $.
Which error ?
Thanks,
- Arnaud
Quoted 25 lines
Signed-off-by Peter Foley <[email protected]>---
scripts/export_report.pl | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)scripts/export_report.pl +0
-0@@ -50,7 +50,7 @@ sub usage { sub collectcfiles {my @file
- = `cat .tmp_versions/*.mod | grep '.*\.ko\$' | sed s/\.ko$/.mod.c/`; + = `cat .tmp_versions/*.mod | grep '.*\.ko\$' | sed s/\.ko\$/.mod.c/`;chomp @file;
return @file;
}
--
1.7.5.rc1--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · Arnaud Lacombe
Hi,
Quoted 2 lines · Peter Foley
This patch fixes a sed error in export_report.pl by escaping a $.
Which error ?
Thanks,
- Arnaud
This is the error I get:
make -C /usr/src/git O=/root/linux/t/. export_report perl /usr/src/git/scripts/export_report.pl
sed: -e expression #1, char 5: unterminated `s' command
sh: line 1: .mod.c/: No such file or directory
Américo Wang
Acked-byQuoted 12 lines · Peter Foley
Quoted 10 lines · Arnaud Lacombe
Hi,
Quoted 2 lines · Peter Foley
This patch fixes a sed error in export_report.pl by escaping a $.
Which error ?
Thanks,
- Arnaud
Quoted 6 lines
This is the error I get:
make -C
/usr/src/gitO=/root/linux/t/.export_reportperl/usr/src/git/scripts/export_report.pl
sed: -e expression #1, char 5: unterminated `s' command
sh: line 1: .mod.c/: No such file or directory
Please include this in your changelog.
But anyway,
Thanks!
Quoted 12 lines · Peter Foley
This patch fixes a sed error in export_report.pl by escaping a $.
Signed-off-by Peter Foley<[email protected]>--- scripts/export_report.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)scripts/export_report.pl +0
-0
scripts/export_report.pl sub usage { · line 52
Quoted 4 lines
scripts/export_report.pl +1
-1@@ -50,7 +50,7 @@ sub usage { sub collectcfiles { my @file - = `cat .tmp_versions/*.mod | grep '.*\.ko\$' | sed s/\.ko$/.mod.c/`; + = `cat .tmp_versions/*.mod | grep '.*\.ko\$' | sed s/\.ko\$/.mod.c/`;
Please enclose the argument in single quotes instead.
Michal
Quoted 21 lines · Michal Marek
Quoted 12 lines · Peter Foley
This patch fixes a sed error in export_report.pl by escaping a $.
Signed-off-by Peter Foley<[email protected]>--- scripts/export_report.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)scripts/export_report.pl +0
-0scripts/export_report.pl sub usage { · line 53
Quoted 5 lines
scripts/export_report.pl +1
-1@@ -50,7 +50,7 @@ sub usage { sub collectcfiles { my @file - = `cat .tmp_versions/*.mod | grep '.*\.ko\$' | sed s/\.ko$/.mod.c/`; + = `cat .tmp_versions/*.mod | grep '.*\.ko\$' | sed s/\.ko\$/.mod.c/`;Please enclose the argument in single quotes instead.
Quoted 1 line
Michal
I tried doing that and still got:
perl /usr/src/git/scripts/export_report.pl
sed: -e expression #1, char 5: unterminated `s' command
Peter