diff --git a/src/cmd/dist/build.c b/src/cmd/dist/build.c index f21b5afda31..9522dffb2b0 100644 --- a/src/cmd/dist/build.c +++ b/src/cmd/dist/build.c @@ -1352,7 +1352,7 @@ cmdenv(int argc, char **argv) vflag++; break; case 'w': - format = "set %s=%s\n"; + format = "set %s=%s\r\n"; break; default: usage();