Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (21 sloc) 1.165 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#!/bin/sh
echo '=== OHAI I AM A VERY UGLY SCRIPT'
echo '=== I WILL COPY STUFF FOR YOU'
echo '=== If it fails edit the script to adapt the paths !'

FRAMEWORKS_PATH="/Library/Frameworks"
OGRE_SDK_LIBS_PATH="/Users/rhaamo/src/OgreSDK/lib"

mkdir "CubeWorld.app/Frameworks"
mkdir "CubeWorld.app/Resources"
mkdir "CubeWorld.app/Contents/Plugins"

cp -r "${FRAMEWORKS_PATH}/OGRE.framework" "CubeWorld.app/Frameworks/"
cp -r "${FRAMEWORKS_PATH}/OIS.framework" "CubeWorld.app/Frameworks/"

cp "${OGRE_SDK_LIBS_PATH}/Plugin_BSPSceneManager.dylib" "CubeWorld.app/Contents/Plugins"
cp "${OGRE_SDK_LIBS_PATH}/Plugin_CgProgramManager.dylib" "CubeWorld.app/Contents/Plugins"
cp "${OGRE_SDK_LIBS_PATH}/Plugin_OctreeSceneManager.dylib" "CubeWorld.app/Contents/Plugins"
cp "${OGRE_SDK_LIBS_PATH}/Plugin_OctreeZone.dylib" "CubeWorld.app/Contents/Plugins"
cp "${OGRE_SDK_LIBS_PATH}/Plugin_PCZSceneManager.dylib" "CubeWorld.app/Contents/Plugins"
cp "${OGRE_SDK_LIBS_PATH}/Plugin_ParticleFX.dylib" "CubeWorld.app/Contents/Plugins"
cp "${OGRE_SDK_LIBS_PATH}/RenderSystem_GL.dylib" "CubeWorld.app/Contents/Plugins"

cp ../resources/*.cfg .
cp -r ../resources/OGRE .

echo '=== done :-)'
Something went wrong with that request. Please try again.