From d6acc8debec8612518e470aa62a097a5a3618788 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Wed, 16 May 2012 07:01:40 -0500 Subject: [PATCH] move boost update script to out of way place, fix bug in it --- update-boost.sh => tools/update-boost.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) rename update-boost.sh => tools/update-boost.sh (80%) diff --git a/update-boost.sh b/tools/update-boost.sh similarity index 80% rename from update-boost.sh rename to tools/update-boost.sh index d2fef48cae..7291d42668 100755 --- a/update-boost.sh +++ b/tools/update-boost.sh @@ -3,8 +3,8 @@ # A shell script to update the boost subset within KiCad to newer version. BOOST_VERSION=1_49_0 -SRC_BOOST=/tmp/boost_$BOOST_VERSION/boost -KICAD_BASE=/svn/kicad/testing.checkout +SRC_BOOST="/tmp/boost_$BOOST_VERSION/boost" +KICAD_BASE="/svn/kicad/testing.checkout" DST_BOOST="$KICAD_BASE/include/boost" # control the subset of boost libs used: @@ -38,19 +38,16 @@ BOOST_DIRS="\ utility \ " -# staging area for non-included dirs: -# numeric accumulators algorithm - # remove all old BOOST include files using bzr -bzr rm --no-backup --quiet "$DST_BOOST/*" +eval bzr rm --no-backup --quiet "$DST_BOOST/*" # copy all *.hpp files in the base boost directory: eval cp "$SRC_BOOST/*.hpp" "$DST_BOOST/" # copy recursively all chosen boost libraries: for D in $BOOST_DIRS; do - eval cp -r "$SRC_BOOST/$D" "$DST_BOOST" + eval cp -r "$SRC_BOOST/$D" "$DST_BOOST/" done # tell bzr about the new files so they become part of the repo.