Changeset 3774
- Timestamp:
- 08/01/06 14:07:48 (2 years ago)
- Files:
-
- trunk/support/makedist2.sh (modified) (1 diff)
- trunk/support/pear-package.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/support/makedist2.sh
r2991 r3774 47 47 for component in $COMPONENTS; do 48 48 echo "Packaging $component ..." 49 component_dir="$MIDCOM_SUPPORT_DIR/../ lib/`echo $component|sed -e "s/\\./\\//g"`"49 component_dir="$MIDCOM_SUPPORT_DIR/../src/$component" 50 50 $PHP $MIDCOM_SUPPORT_DIR/pear-package.php $component > $component_dir/package.xml 51 51 $PEAR package $component_dir/package.xml trunk/support/pear-package.php
r3063 r3774 37 37 38 38 // Determine requested component directory 39 $component['path'] = "{$midcom['root']}/lib"; 39 $component['path'] = "{$midcom['root']}/src/{$component['name']}"; 40 if (!file_exists($component['path'])) 41 { 42 die("Directory {$component['path']} not found.\n"); 43 } 44 45 // Generate the base installation directory for the component 40 46 $component['baseinstalldir'] = "midcom/lib"; 41 47 $component_path_array = explode('.', $component['name']); 42 48 foreach ($component_path_array as $directory) 43 49 { 44 $component['path'] = "{$component['path']}/{$directory}";45 50 $component['baseinstalldir'] = "{$component['baseinstalldir']}/{$directory}"; 46 if (!file_exists($component['path']))47 {48 die("Directory {$component['path']} not found.\n");49 }50 51 } 51 52
