projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb9925
)
writemain dies when there are more than 4000 characters of extensions
author
Kenneth Duda
<kjd@cisco.com>
Sun, 27 Sep 1998 20:22:12 +0000
(13:22 -0700)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Fri, 2 Oct 1998 01:36:14 +0000
(
01:36
+0000)
Message-Id: <
199809280322
.UAA01261@scorpion.cisco.com>
p4raw-id: //depot/perl@1902
writemain.SH
patch
|
blob
|
history
diff --git
a/writemain.SH
b/writemain.SH
index
c428383
..
025d954
100644
(file)
--- a/
writemain.SH
+++ b/
writemain.SH
@@
-37,7
+37,11
@@
$spitshell >>writemain <<'!NO!SUBS!'
orig="$*"
args=''
: Remove any .a suffixes and any leading path components
-for file in `echo $orig | sed 's/\.a//g'` ; do
+for file in $orig ; do
+ case "$file" in
+ *.a) file=`echo $file | sed 's/\.a//g'`
+ ;;
+ esac
case "$file" in
ext/*) file=`echo $file | sed 's:ext/\(.*\)/[^/]*:\1:'`
;;