Changeset 862

Show
Ignore:
Timestamp:
06/04/07 06:17:34 (2 years ago)
Author:
ok_computer
Message:

Allowing custom resources in Mac create app script.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/installer/osx/create_app

    r806 r862  
    167167fi 
    168168 
    169 # Copy any resources found in the python script directory 
     169# Copy any resources found in the python script directory unless they have already been defined 
    170170if [ "$resources" == "" ] ; then 
    171171    resources=`find -E "$py_script_root" -maxdepth 1 -regex ".*\.jpg|.*\.png|.*\.ui" -print0 | xargs -0` 
    172172fi 
    173173 
    174 cp $resources "$bundle/Contents/Resources" 
     174cp -R $resources "$bundle/Contents/Resources" 
    175175 
    176176# If there is a local "Resources" dir copy the contents of this too