Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/offload-build
diff options
context:
space:
mode:
Diffstat (limited to 'offload-build')
-rwxr-xr-xoffload-build9
1 files changed, 8 insertions, 1 deletions
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