diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-24 13:21:35 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-24 13:21:35 -0400 |
commit | 944c4a6e8dae50541cea20aaea8843de3e46dfe3 (patch) | |
tree | 965add000ab1b4db6f3f220b7ab850b27a243595 /src/libretools.conf | |
parent | f6dc0c43604395dfbdeec69bf7302f441a5dd829 (diff) |
Include the 1863 port number in config variables
Diffstat (limited to 'src/libretools.conf')
-rw-r--r-- | src/libretools.conf | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libretools.conf b/src/libretools.conf index f909c36..3ba13bf 100644 --- a/src/libretools.conf +++ b/src/libretools.conf @@ -19,7 +19,7 @@ DIFFPROG=$(which $([ -z "${DISPLAY:-}" ]||echo kdiff3 meld gvimdiff) vimdiff col ## ABSLibre ## Used by xbs-abslibre ABSLIBRERECV=git://git.parabola.nu/abslibre/abslibre.git -ABSLIBRESEND=ssh://git@git.parabola.nu/srv/git/abslibre/abslibre.git +ABSLIBRESEND=ssh://git@git.parabola.nu:1863/~git/abslibre/abslibre.git ABSLIBREDEST="$WORKDIR/staging/abslibre" ## ARCHES is the list of ARCHES to look for under ABSLIBREDEST ARCHES=($(printf '%s\n' /usr/share/pacman/defaults/pacman.conf.*|sed 's|.*\.||')) @@ -29,11 +29,10 @@ ARCHES=($(printf '%s\n' /usr/share/pacman/defaults/pacman.conf.*|sed 's|.*\.||') ################################################################################ ## Where to upload packages to -# '/staging/' is appended; this is for compatibility with previous versions. -REPODEST=repo@repo.parabola.nu:staging/$LIBREUSER +REPODEST=ssh://repo@repo.parabola.nu:1863/~/staging/$LIBREUSER/staging/ ## These are run before and after uploading packages -HOOKPRERELEASE="ssh -fN ${REPODEST%%:*}" +HOOKPRERELEASE="ssh -fN $(sed -r -e 's,^ssh://,,' -e 's,[/#?].*$,,' -e 's/^(.*)(:([0-9]+))$/-p \3 \1/' -e 's/[][]//g' <<<"$REPODEST")" HOOKPOSTRELEASE="sudo librechroot clean-repo" ################################################################################ |