summaryrefslogtreecommitdiff
path: root/makedepend.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-06-05 16:58:23 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-06-05 16:58:23 +0000
commit4902b9ac34817bed7eedc3956f985e2d5ded090e (patch)
treef2658da61c00e3085f5384db65badfcaf70964ae /makedepend.SH
parent467f3f08d4461a692c3b158ee846a6f32fdd31ff (diff)
downloadperl-4902b9ac34817bed7eedc3956f985e2d5ded090e.tar.gz
z/OS makedepend fix from Peter Prymmer;
still needed as reported by Brian De Pradine. p4raw-id: //depot/perl@19692
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-xmakedepend.SH5
1 files changed, 5 insertions, 0 deletions
diff --git a/makedepend.SH b/makedepend.SH
index c1d880d324..688f65602e 100755
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -141,6 +141,11 @@ for file in `$cat .clist`; do
-e 's|\\$||' \
-e p \
-e '}' ) >UU/$file.c
+
+ if [ "$osname" = os390 -a "$file" = perly.c ]; then
+ $echo '#endif' >>UU/$file.c
+ fi
+
if [ "$osname" = os390 ]; then
$cppstdin $finc -I. $cppflags $cppminus <UU/$file.c |
$sed \