summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-11-02 15:14:44 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-11-02 17:38:35 -0400
commitdc87e08cdac2bd70d1d1f9412717fb226e8de387 (patch)
tree4c7db0dd0f98b7762c4453ae0cf4728fb1bc0c61
parenta0d401113c774ef589bffaf7954ba1e41be09517 (diff)
createworkdir: use gitget to set separate push and pull URLs.
-rwxr-xr-xsrc/abslibre-tools/createworkdir4
-rw-r--r--src/libretools.conf5
2 files changed, 5 insertions, 4 deletions
diff --git a/src/abslibre-tools/createworkdir b/src/abslibre-tools/createworkdir
index 1c553aa..8e88375 100755
--- a/src/abslibre-tools/createworkdir
+++ b/src/abslibre-tools/createworkdir
@@ -26,7 +26,7 @@ set -euE
. libremessages
. $(librelib conf.sh)
load_files libretools
-check_vars libretools WORKDIR REPOS ABSLIBREGIT
+check_vars libretools WORKDIR REPOS ABSLIBRERECV ABSLIBRESEND
trap 'error "Aborting..."' EXIT
@@ -36,7 +36,7 @@ mkdir -p "$WORKDIR"
msg "Creating staging directory in WORKDIR..."
mkdir -p "$WORKDIR/staging"
-cmd=(libregit "$ABSLIBREGIT" master "$WORKDIR/abslibre")
+cmd=(gitget -f -p "$ABSLIBRESEND" checkout "$ABSLIBRERECV" "$WORKDIR/abslibre")
if ! "${cmd[@]}"; then
error "Could not clone ABSLibre"
plain "Try running this command:"
diff --git a/src/libretools.conf b/src/libretools.conf
index 8690803..50ded8b 100644
--- a/src/libretools.conf
+++ b/src/libretools.conf
@@ -27,8 +27,9 @@ REPOS=('core' 'libre' 'extra' 'community' 'libre-testing' 'social' 'sugar' 'pcr'
ARCHES=('x86_64' 'i686' 'mips64el')
## ABSLibre
-#ABSLIBREGIT=http://projects.parabolagnulinux.org/abslibre.git
-ABSLIBREGIT=ssh://git@projects.parabolagnulinux.org:1863/srv/git/abslibre.git
+## Used by `createworkdir`
+ABSLIBREREGV=git://projects.parabolagnulinux.org/abslibre.git
+ABSLIBRESEND=ssh://git@projects.parabolagnulinux.org:1863/srv/git/abslibre.git
################################################################################
# librerelease #