summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtreepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/treepkg b/treepkg
index 5a8eae2..8ba2add 100755
--- a/treepkg
+++ b/treepkg
@@ -195,7 +195,7 @@ if [ ${DEPTH} -eq 0 ]; then
# Ignore if there's no PKGBUILD
if [ ! -f "${BUILDDIR}/${_pkg}/PKGBUILD" ]; then continue; fi
# Skip if already built (faster than calling is_build again)
- if [ -f built_ok ]; then continue; fi
+ if [ -f "${BUILDDIR}/${_pkg}/built_ok" ]; then continue; fi
${VERBOSE} && msg "Building ${_pkg/_/ }" || true