Permalink
Browse files

Don't look for PBI_MAKEPORT in ports tree if doing a package build

  • Loading branch information...
1 parent e1117b0 commit 8e658992f4a614464376d18890fcdb70695ca28a @kmoore134 kmoore134 committed Nov 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-sh/pbi-manager10/pbi-manager
View
2 src-sh/pbi-manager10/pbi-manager
@@ -1286,7 +1286,7 @@ parse_make_pbi_cmdline() {
# Make sure this port exists
- if [ ! -d "${PORTSDIR}/${PBI_MAKEPORT}" ] ; then
+ if [ ! -d "${PORTSDIR}/${PBI_MAKEPORT}" -a "$PBI_PKGNGBUILD" != "YES" ] ; then
exit_err "No port (${PORTSDIR}/${PBI_MAKEPORT})"
fi

0 comments on commit 8e65899

Please sign in to comment.