summaryrefslogtreecommitdiffstats
path: root/main/abuild/0001-buildrepo-set-REPODEST-when-running-abuild.patch
blob: 0dbc4a2b7e7f84f83e511852675149ae67d797a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From b1b093180f2795c5802f12ee36b6f619e725b0cd Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Fri, 22 Feb 2013 09:35:19 +0000
Subject: [PATCH] buildrepo: set REPODEST when running abuild

fixes regression
---
 buildrepo.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/buildrepo.in b/buildrepo.in
index 23cc61e..1f218cc 100755
--- a/buildrepo.in
+++ b/buildrepo.in
@@ -93,6 +93,7 @@ do_build() {
 	cd "$aportsdir/$repo" || return 0
 	local needbuild="$(list_needbuild $repo)"
 
+	export REPODEST="$repodir"
 	# build the postponed packages if any
 	if [ -n "$needbuild" ]; then
 		for i in $needbuild; do
-- 
1.8.1.3