summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-07-15 13:40:04 +0000
committerRich Salz <rsalz@openssl.org>2015-05-15 14:19:29 -0400
commit2df0ba9b4f20f07f7d5bead4d2107d29d62b1798 (patch)
tree001c9c235c4979ad22b898f0f512bab024334fbb
parent76b49a8ad7759c2b702376d1ebc90008bdc26373 (diff)
mk1mf.pl: replace chop for windows.
Backport old patch to make it work in mixture of perls for Windows. Reviewed-by: Richard Levitte <levitte@openssl.org> Cherry-picked from 7bb98eee3c9e4694dfc2217001d5075ce8d2906e (cherry picked from commit 051b41df4105355a5a9c7f1c0bd00cc70b2d324c)
-rwxr-xr-xutil/mk1mf.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mk1mf.pl b/util/mk1mf.pl
index 550ef9f685..1eee7aa349 100755
--- a/util/mk1mf.pl
+++ b/util/mk1mf.pl
@@ -326,7 +326,7 @@ open(IN,"<$infile") || die "unable to open $infile:$!\n";
$_=<IN>;
for (;;)
{
- chop;
+ s/\s*$//; # was chop, didn't work in mixture of perls for Windows...
($key,$val)=/^([^=]+)=(.*)/;
if ($key eq "RELATIVE_DIRECTORY")