summaryrefslogtreecommitdiff
path: root/prtools/prfullpkg
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2012-01-25 12:12:21 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2012-01-25 12:12:21 -0600
commit7887f99d234b4c88c3833c294869e307d2757787 (patch)
tree8ae7ebcf7482859b1527802dfb5557a6e11b596a /prtools/prfullpkg
parent29b793a63d5f8e134f23cfebc9694a98acb316b8 (diff)
is_built: faster (from fauno's branch)
updated calls to is_built
Diffstat (limited to 'prtools/prfullpkg')
-rwxr-xr-xprtools/prfullpkg4
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