diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2012-01-25 12:12:21 -0600 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2012-01-25 12:12:21 -0600 |
commit | 7887f99d234b4c88c3833c294869e307d2757787 (patch) | |
tree | 8ae7ebcf7482859b1527802dfb5557a6e11b596a /prtools/prfullpkg | |
parent | 29b793a63d5f8e134f23cfebc9694a98acb316b8 (diff) |
is_built: faster (from fauno's branch)
updated calls to is_built
Diffstat (limited to 'prtools/prfullpkg')
-rwxr-xr-x | prtools/prfullpkg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prtools/prfullpkg b/prtools/prfullpkg index dd2ba3a..bbb8d73 100755 --- a/prtools/prfullpkg +++ b/prtools/prfullpkg @@ -85,7 +85,7 @@ function find_deps { # Checks ABSROOT and look for target pkg deps. Adds them i local epoch=${epoch:-0} local fullver=$(get_fullver ${epoch} ${pkgver} ${pkgrel}) - if is_built "${pkgbase}>=${fullver}"; then + if is_built "${pkgbase}" "${fullver}"; then exit 0 # pkg is built and updated fi @@ -316,7 +316,7 @@ fi if [ $level -eq 0 ]; then if [ ! -d ${build_dir} ]; then # in case of custom -d option - mkdir -p ${build_dir} + mkdir -p ${build_dir} else cleanup # files already there can screw find_deps fi |