diff options
author | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-19 02:38:37 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-19 02:38:37 -0500 |
commit | 69b193a18370aa18c1f59715f7909821f2bf2310 (patch) | |
tree | 175b4eea847fe09405c04459762900a79c6fd3aa /fullpkg | |
parent | af81fffea91ae472a9b0bbee7ed88317fbff468a (diff) |
* guess_repo executed after it is declared
Diffstat (limited to 'fullpkg')
-rwxr-xr-x | fullpkg | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |