From dc87e08cdac2bd70d1d1f9412717fb226e8de387 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 2 Nov 2013 15:14:44 -0400 Subject: createworkdir: use gitget to set separate push and pull URLs. --- src/abslibre-tools/createworkdir | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/abslibre-tools') 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:" -- cgit v1.2.3-54-g00ecf