forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit404b912
committed
Improve perl script in MSVC to build binaries
This commit includes two improvements for build.pl in src/tools/msvc/:- Fix two warnings related to $ARGV[0] being uninitialized, somethingthat happens when calling build.pl (or build.bat) without arguments tocompile all the components with a release quality.- If calling the script with more than two arguments, exit immediatelyand show a new help output. build.pl was not failing in this casebefore this commit, and the extra arguments were just ignored, but thenew behavior helps in understanding how to run the script withoutlooking at the documentation for the Windows builds.Reported-by: Ranier VilelaAuthor: Michael PaquierReviewed-by: Juan José Santamaría Flecha, David ZhangDiscussion:https://postgr.es/m/CAEudQAo38dfR_0Ugt2OHy4mq-6Hz93XPSBAGEUV67RhKdgp8Zg@mail.gmail.com1 parentfe2e206 commit404b912
1 file changed
+26
-9
lines changedLines changed: 26 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 |
| - | |
| 6 | + | |
5 | 7 |
| |
6 | 8 |
| |
7 | 9 |
| |
| |||
12 | 14 |
| |
13 | 15 |
| |
14 | 16 |
| |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
15 | 27 |
| |
16 | 28 |
| |
17 | 29 |
| |
18 | 30 |
| |
| 31 | + | |
| 32 | + | |
19 | 33 |
| |
20 | 34 |
| |
21 | 35 |
| |
| |||
37 | 51 |
| |
38 | 52 |
| |
39 | 53 |
| |
40 |
| - | |
41 | 54 |
| |
42 | 55 |
| |
43 | 56 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
| 57 | + | |
| 58 | + | |
49 | 59 |
| |
50 |
| - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
51 | 68 |
| |
52 | 69 |
| |
53 | 70 |
| |
|
0 commit comments
Comments
(0)