index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Levente Polyak <anthraxx@archlinux.org> | 2024-02-16 22:34:43 +0100 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2024-04-23 22:48:55 +0200 |
commit | 5780ba0e380d619c7e6632edbf6e357dce73289f (patch) | |
tree | 82bb29f7b43bd53ffcebbb85ebae07ed75c11ef2 | |
parent | 9a5181db5bfa78d33d3123145ea4c84375f2e8f2 (diff) |
-rw-r--r-- | src/commitpkg.in | 2 | ||||
-rw-r--r-- | src/lib/common.sh | 11 | ||||
-rw-r--r-- | src/offload-build.in | 2 |
diff --git a/src/commitpkg.in b/src/commitpkg.in index e17b270..deb02be 100644 --- a/src/commitpkg.in +++ b/src/commitpkg.in @@ -151,7 +151,7 @@ fi server=${PACKAGING_REPO_RELEASE_HOST} -rsyncopts=(-e ssh -p '--chmod=ug=rw,o=r' -c -h -L --progress --partial -y) +rsyncopts=("${RSYNC_OPTS[@]}" --perms --chmod='ug=rw,o=r') archreleaseopts=() while getopts ':l:a:s:f' flag; do case $flag in diff --git a/src/lib/common.sh b/src/lib/common.sh index 00ece97..7d04c25 100644 --- a/src/lib/common.sh +++ b/src/lib/common.sh @@ -31,6 +31,17 @@ export PACKAGING_REPO_RELEASE_HOST=repos.archlinux.org export PKGBASE_MAINTAINER_URL=https://archlinux.org/packages/pkgbase-maintainer export AUR_URL_SSH=aur@aur.archlinux.org +export RSYNC_OPTS=( + --rsh=ssh + --checksum + --copy-links + --human-readable + --progress + --partial + --partial-dir=.partial + --delay-updates +) + # ensure TERM is set with a fallback to dumb export TERM=${TERM:-dumb} diff --git a/src/offload-build.in b/src/offload-build.in index 7a8c1fd..b272a74 100644 --- a/src/offload-build.in +++ b/src/offload-build.in @@ -23,7 +23,7 @@ fi repo=extra arch=x86_64 server=build.archlinux.org -rsyncopts=(-e ssh -c -h -L --progress --partial -y) +rsyncopts=("${RSYNC_OPTS[@]}") usage() { cat <<- _EOF_ |