[Hdrflow-svn] SF.net SVN: hdrflow: [132] trunk
Status: Pre-Alpha
Brought to you by:
glslang
From: <gl...@us...> - 2007-05-20 22:06:31
|
Revision: 132 http://hdrflow.svn.sourceforge.net/hdrflow/?rev=132&view=rev Author: glslang Date: 2007-05-20 15:06:27 -0700 (Sun, 20 May 2007) Log Message: ----------- + proper svn repo Added Paths: ----------- trunk/app/ trunk/unity.sh Removed Paths: ------------- app/ lib/ unity.sh Added: trunk/unity.sh =================================================================== --- trunk/unity.sh (rev 0) +++ trunk/unity.sh 2007-05-20 22:06:27 UTC (rev 132) @@ -0,0 +1,37 @@ +#!/bin/sh -x +# Unification of build and distribution: +# recurses into lib and app directories, building each in turn. +# updates Boost version in VC8 project files. + +if [ $# -eq "0" ] +then + echo "usage: `basename $0` options (-evb)" + exit 1 +fi + +update_boost_version=0 +boost_old_version=1_33_1 +boost_new_version=1_34 + +while getopts "v:b:e" option +do + case $option in + e ) update_boost_version=1;; + v ) boost_old_version="$OPTARG";; + b ) boost_new_version="$OPTARG";; + esac +done + +shift $(($OPTIND - 1)) + +if [ "$update_boost_version" -eq 1 ] +then + find . -type f -name '*.vcproj' -print | while read i + do cp $i $i.unity.bak && + sed -e "s|boost-$boost_old_version|boost-$boost_new_version|g" -e "s|$boost_old_version.lib|$boost_new_version.lib|g" $i.unity.bak > $i && + rm $i.unity.bak + done +fi + +exit 0 + Property changes on: trunk/unity.sh ___________________________________________________________________ Name: svn:eol-style + native Deleted: unity.sh =================================================================== --- unity.sh 2007-05-20 21:16:23 UTC (rev 131) +++ unity.sh 2007-05-20 22:06:27 UTC (rev 132) @@ -1,37 +0,0 @@ -#!/bin/sh -x -# Unification of build and distribution: -# recurses into lib and app directories, building each in turn. -# updates Boost version in VC8 project files. - -if [ $# -eq "0" ] -then - echo "usage: `basename $0` options (-evb)" - exit 1 -fi - -update_boost_version=0 -boost_old_version=1_33_1 -boost_new_version=1_34 - -while getopts "v:b:e" option -do - case $option in - e ) update_boost_version=1;; - v ) boost_old_version="$OPTARG";; - b ) boost_new_version="$OPTARG";; - esac -done - -shift $(($OPTIND - 1)) - -if [ "$update_boost_version" -eq 1 ] -then - find . -type f -name '*.vcproj' -print | while read i - do cp $i $i.unity.bak && - sed -e "s|boost-$boost_old_version|boost-$boost_new_version|g" -e "s|$boost_old_version.lib|$boost_new_version.lib|g" $i.unity.bak > $i && - rm $i.unity.bak - done -fi - -exit 0 - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |