summaryrefslogtreecommitdiff
path: root/fullpkg
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-19 02:38:37 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-19 02:38:37 -0500
commit69b193a18370aa18c1f59715f7909821f2bf2310 (patch)
tree175b4eea847fe09405c04459762900a79c6fd3aa /fullpkg
parentaf81fffea91ae472a9b0bbee7ed88317fbff468a (diff)
* guess_repo executed after it is declared
Diffstat (limited to 'fullpkg')
-rwxr-xr-xfullpkg3
1 files changed, 1 insertions, 2 deletions
diff --git a/fullpkg b/fullpkg
index 692ddb0..8bc29d9 100755
--- a/fullpkg
+++ b/fullpkg
@@ -48,7 +48,6 @@ done
tmp_dir=$(mktemp -d /tmp/$(basename $PWD).XXXXXX)
queue_file=$(mktemp /tmp/queue.XXXXXX)
ban_file=$(mktemp /tmp/ban.XXXXXX)
-repo=${repo:-$(guess_repo)}
## START FUNCTIONS ##
@@ -142,6 +141,7 @@ function cleanup {
source PKGBUILD
msg "Building ${repo:-missing repo}/${pkgbase:-${pkgname[@]}}: $pkgdesc"
+repo=${repo:-$(guess_repo)}
# Pre build tests
if [ $force_build == 'n' ]; then
@@ -184,7 +184,6 @@ deps=$(echo "${depends[@]} ${makedepends[@]} ${pkgdeps[@]}" | \
sort -u)
msg "Checking dependencies"
-
for _dep in ${deps[@]}; do
is_banned $_dep && continue