Changeset 188 for snovis/trunk/obuild/sh


Ignore:
Timestamp:
Feb 13, 2007, 6:14:29 AM (17 years ago)
Author:
barrand
Message:
 
Location:
snovis/trunk/obuild/sh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • snovis/trunk/obuild/sh/broadcast_install

    r101 r188  
    9797  exit
    9898fi
     99obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'`
     100if [ "${obuild_snova_path}" = "" ] ; then
     101  echo "Can't find snova package."
     102  exit
     103fi
     104if [ "${obuild_find_exe}" = "" ] ; then
     105  echo "Variable obuild_find_exe not defined."
     106  exit
     107fi
    99108obuild_OnX_path=`"${obuild_find_exe}" OnX 'v17r*'`
    100109if [ "${obuild_OnX_path}" = "" ] ; then
     
    113122
    114123# install setup scripts of used packages :
     124if [ ! -e "${obuild_snova_path}/obuild/sh/broadcast_install" ] ; then
     125  echo "broadcast_install script not found for package snova."
     126  exit
     127fi
     128cd "${obuild_snova_path}/obuild"
     129./sh/broadcast_install ${obuild_args}
     130
    115131if [ ! -e "${obuild_OnX_path}/obuild/sh/broadcast_install" ] ; then
    116132  echo "broadcast_install script not found for package OnX."
  • snovis/trunk/obuild/sh/build_Darwin_app

    r136 r188  
    6565/bin/cp "${obuild_path_app}" "${obuild_dir_app}/Contents/MacOS/${obuild_app}"
    6666
    67 # Copy dlls in Contents/bin of the .app :
    68 cd "${obuild_dir_dll}"
     67# Copy dlls (libs) in Contents/bin (/lib) of the .app :
    6968while test $# -ge 1 ; do 
    7069  if [ -e "$1" ] ; then
    71     eval /bin/cp "\"$1\"" .
     70    name=`basename "$1"`
     71    if [ "`basename ${name} .dylib`" = "${name}" ] ; then
     72      # .bundle
     73      #echo "debug : bundle : $1"
     74      eval /bin/cp "\"$1\"" "\"${obuild_dir_dll}\""/.
     75    else
     76      # .dylib
     77      #echo "debug : dylib : $1"
     78      eval /bin/cp "\"$1\"" "\"${obuild_dir_lib}\""/.
     79    fi
    7280#  else
    7381#    echo "$1 not found."
Note: See TracChangeset for help on using the changeset viewer.