From b933ef856506d3c9607d11990d50de1e755acb24 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Tue, 6 May 2014 00:23:57 -0500 Subject: [PATCH] Allow building of a STABLE or TESTING version using kicad-install.sh. --- scripts/kicad-install.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/scripts/kicad-install.sh b/scripts/kicad-install.sh index d5e9877926..b867060b77 100755 --- a/scripts/kicad-install.sh +++ b/scripts/kicad-install.sh @@ -34,6 +34,17 @@ # Set where the 3 source trees will go, use a full path WORKING_TREES=~/kicad_sources +STABLE=tag:pre-kiway # currently the best mix of features and stabilty +TESTING=last:1 # the most recent + + +# Set this to STABLE or TESTING or other know revision number: +REVISION=$STABLE + +# For info on revision syntax: +# $ bzr help revisionspec + + # CMake Options #OPTS="$OPTS -DBUILD_GITHUB_PLUGIN=OFF" @@ -45,9 +56,6 @@ WORKING_TREES=~/kicad_sources # https results in read only access. REPOS=https://code.launchpad.net -# This is no longer maintained, is old -#LEGACY_LIB_REPO=$REPOS/~dickelbeck/kicad/library-read-only - # This branch is a bzr/launchpad import of the Git repository # at https://github.com/KiCad/kicad-library.git. # It has schematic parts and 3D models in it. @@ -216,7 +224,7 @@ install_or_update() echo " source repo to local working tree." else cd kicad.bzr - bzr up + bzr up -r $REVISION echo " local source working tree updated." cd ../ fi