Changeset 12761 for modules/branches/2.10/package.php
- Timestamp:
- 10/05/11 09:23:24 (2 years ago)
- Files:
-
- modules/branches/2.10/package.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.10/package.php
r12760 r12761 1 1 #!/usr/bin/php -q 2 2 <?php 3 /* 4 * Copyright 2011 by Schmooze Com., Inc. 5 * By installing, copying, downloading, distributing, inspecting or using the 6 * materials provided herewith, you agree to all of the terms of use as outlined 7 * in our End User Agreement which can be found and reviewed at 8 * http://freepbxdistro.org/signup.php?view=tos 9 * 10 * @author mbrevda@schmoozecom.com 11 * 12 * options: 13 * -m module name to be packaged. You can pass more than one name 14 * -d debug mode - will echo the commands and not run them 15 * -v verbosity - will echo out the commands AND run them 16 * 17 */ 3 18 4 19 //get cli opts … … 11 26 $vars = getopt('m:d::L::v::'); 12 27 28 29 //set up some other settings 30 $vars['rver'] = '2.10'; 31 $vars['fwbranch'] = 'branches/2.10'; 32 $vars['fw'] = 'framework'; 33 $vars['fw_ari'] = 'fw_ari'; 34 $vars['fw_lang'] = 'fw_langpacks'; 35 $vars['reldir'] = 'reldir'; 36 $vars['svn_path'] = 'http://svn.freepbx.org'; 37 13 38 //move cli args to longopts for clarity throught the script 14 39 //note: once we depend on 5.3, we can refactor this so that either short … … 50 75 } 51 76 } 52 53 //set up some other settings54 $vars['rver'] = '2.10';55 $vars['fwbranch'] = 'branches/2.10';56 $vars['fw'] = 'framework';57 $vars['fw_ari'] = 'fw_ari';58 $vars['fw_lang'] = 'fw_langpacks';59 $vars['reldir'] = 'reldir';60 $vars['svn_path'] = 'http://svn.freepbx.org';61 77 62 78 //ensure we have modules to package
