index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-08-09 14:31:53 -0400 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2019-11-07 21:28:21 +0100 |
commit | 751093eff2cbd0df422b69810787b4fcf3d33208 (patch) | |
tree | 1d459c815e8b9506e7775bcf12b0d46cdea7aa86 /offload-build | |
parent | f43a86ee8a3a3bfbdc32c2d70516d945afcd8515 (diff) |
-rwxr-xr-x | offload-build | 9 |
diff --git a/offload-build b/offload-build index 7a07b15..078796a 100755 --- a/offload-build +++ b/offload-build @@ -18,6 +18,8 @@ # along with this program. If not, see <https://www.gnu.org/licenses/>. # +source /usr/share/makepkg/util/config.sh + # global defaults suitable for use by Arch staff repo=extra @@ -105,4 +107,9 @@ mapfile -t files < <( makepkg --packagelist ') -(( ${#files[@]} )) && printf '%s\n' '' '-> copying files...' && scp "${files[@]/#/$server:}" . + +if (( ${#files[@]} )); then + printf '%s\n' '' '-> copying files...' + load_makepkg_config + scp "${files[@]/#/$server:}" "${PKGDEST:-${PWD}}/" +fi |