diff options
author | Mark Ferrell <major@homeonderanged.org> | 2014-04-15 06:16:45 -0700 |
---|---|---|
committer | Mark Ferrell <major@homeonderanged.org> | 2014-04-15 06:16:45 -0700 |
commit | b2b247366a40c6195ad17602dd6ee5f0ac4c4b89 (patch) | |
tree | d46422c2209cd3fdf28633f9e2978b2581ca1c90 | |
parent | 3c116bffe12e77a000304934e4676a3387d4a2e1 (diff) |
Fix 'build query --exists'
* Changes in a previous commit which attempted to fixup an edge-case failure
in '--exists' managed to break it for all cases.
-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) |