diff options
Diffstat (limited to 'bin/ptxdist')
-rwxr-xr-x | bin/ptxdist | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 5b28f91ac..7d9b8595b 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1095,8 +1095,7 @@ newpackage() { # for host and cross packages, find out if there is already an # existing target # - if [ -f "${PROJECTRULESDIR}/${package_name}.make" -o \ - -f "${RULESDIR}/${package_name}.make" ]; then + if ptxd_in_path PTXDIST_PATH_RULES "${package_name}.make"; then case "${action}" in host|cross) action=class-existing-target |