diff options
Diffstat (limited to 'libexec/build-query')
-rwxr-xr-x | libexec/build-query | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/build-query b/libexec/build-query index f84aca5..ec02ef6 100755 --- a/libexec/build-query +++ b/libexec/build-query @@ -100,7 +100,7 @@ while [ "$#" -gt "0" ]; do (-D|-destdir|--destdir) QUERY_ACTION="destdir";; (--exists) - test -e "${BUILD_PKGDIR}/${1}/Buildrules" && exit 0 || exit 1;; + test -e "${BUILDER_PKGDIR}/${2}/Buildrules" && exit 0 || exit 1;; (-e|-envdir|--envdir) QUERY_ACTION="envdir";; (-E|-environ|--environ) |