Show
Ignore:
Timestamp:
10/13/11 11:06:56 (2 years ago)
Author:
p_lindheimer
Message:

OSX does not like --exclude after the the target directory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.10/package.php

    r12791 r12795  
    185185  $tar_dir_path   = (is_array($tar_dir_path) && (count($tar_dir_path) > 1))  
    186186          ? ' -C /' . implode('/', $tar_dir_path) : ''; 
    187   run_cmd('tar zcf ' . $filename . ' ' . $tar_dir_path . ' ' . $tar_dir . $x ); 
     187  run_cmd('tar zcf ' . $filename . ' ' . $x . ' ' . $tar_dir_path . ' ' . $tar_dir); 
    188188   
    189189  //update md5 sum