Index: trunk/extensions/ExtensionDistributor/svn-invoker.conf.sample |
— | — | @@ -0,0 +1,4 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +$wgExtDistWorkingCopy = '/path/to/mw-working-copy'; |
| 5 | + |
Index: trunk/extensions/ExtensionDistributor/svn-invoker.php |
— | — | @@ -9,7 +9,13 @@ |
10 | 10 | exit( 1 ); |
11 | 11 | } |
12 | 12 | |
13 | | -$wgExtDistWorkingCopy = '/mnt/upload5/private/ExtensionDistributor/mw-snapshot'; |
| 13 | +$confFile = dirname( __FILE__ ) . '/svn-invoker.conf'; |
| 14 | +if ( !file_exists( $confFile ) ) { |
| 15 | + echo "Error: please create svn-invoker.conf based on svn-invoker.conf.sample\n"; |
| 16 | + exit( 1 ); |
| 17 | +} |
| 18 | +require( $confFile ); |
| 19 | + |
14 | 20 | svnExecute(); |
15 | 21 | |
16 | 22 | function svnValidate( $s ) { |
Property changes on: trunk/extensions/ExtensionDistributor |
___________________________________________________________________ |
Added: svn:ignore |
17 | 23 | + svn-invoker.conf |