summaryrefslogtreecommitdiff
path: root/prtools/prfullpkg
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-02-04 13:17:05 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-02-04 13:17:05 -0300
commit3fb8e62b798c0dffb201727439a6a0d90bc1b20f (patch)
treef69c1b6db4082e9188f22be8d3d3d5cc5212f34f /prtools/prfullpkg
parent5ab36af3c7a505ff40bb8ca46ec387b94d85cbdf (diff)
parent9808018ca09050ade144d0dfc0b0b6edadefa368 (diff)
Merge branch 'master' of ssh://gparabola/libretools
Conflicts: libremakepkg
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