Commit 8bfcb00a authored by Dick Hollenbeck's avatar Dick Hollenbeck

kicad-install.sh uses https protocol.

parent c0ed2266
This diff is collapsed.
......@@ -35,13 +35,19 @@
WORKING_TREES=~/kicad_sources
# CMake Options
OPTS="$OPTS -DCMAKE_BUILD_TYPE=Release"
OPTS="$OPTS -DBUILD_GITHUB_PLUGIN=ON"
#OPTS="$OPTS -DBUILD_GITHUB_PLUGIN=OFF"
# Python scripting, uncomment to enable
#OPTS="$OPTS -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON"
LIB_REPO=~dickelbeck/kicad/library-read-only
# Use https under bazaar to retrieve repos because this does not require a
# launchpad.net account. Whereas lp:<something> requires a launchpad account.
# https results in read only access.
REPOS=https://code.launchpad.net
LEGACY_LIB_REPO=$REPOS/~dickelbeck/kicad/library-read-only
SRCS_REPO=$REPOS/~kicad-product-committers/kicad/product
DOCS_REPO=$REPOS/~kicad-developers/kicad/doc
usage()
......@@ -196,7 +202,7 @@ install_or_update()
echo "step 3) checking out the source code from launchpad repo..."
if [ ! -d "$WORKING_TREES/kicad.bzr" ]; then
bzr checkout lp:kicad kicad.bzr
bzr checkout $SRCS_REPO kicad.bzr
echo " source repo to local working tree."
else
cd kicad.bzr
......@@ -206,7 +212,7 @@ install_or_update()
fi
if [ ! -d "$WORKING_TREES/kicad-lib.bzr" ]; then
bzr checkout "lp:$LIB_REPO" kicad-lib.bzr
bzr checkout $LEGACY_LIB_REPO kicad-lib.bzr
echo ' kicad-lib checked out.'
else
cd kicad-lib.bzr
......@@ -217,7 +223,7 @@ install_or_update()
echo "step 5) checking out the documentation from launchpad repo..."
if [ ! -d "$WORKING_TREES/kicad-doc.bzr" ]; then
bzr checkout lp:~kicad-developers/kicad/doc kicad-doc.bzr
bzr checkout $DOCS_REPO kicad-doc.bzr
echo " docs checked out."
else
cd kicad-doc.bzr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment