xbps-src: added -E opt to exit immediately if a binpkg already exists.
With -E if there's a binary package in a local repository for the target pkg, exit immediately. This will be used by the upcoming xbps-fbulk(8).
This commit is contained in:
parent
1e0336eaef
commit
8ee4a7c257
2 changed files with 11 additions and 2 deletions
|
@ -322,6 +322,10 @@ setup_pkg() {
|
|||
makejobs="-j$XBPS_MAKEJOBS"
|
||||
fi
|
||||
|
||||
if [ -n "$XBPS_BINPKG_EXISTS" -a -f "$XBPS_REPOSITORY/${pkgver}.${XBPS_TARGET_MACHINE}.xbps" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -z "$XBPS_DEBUG_PKGS" -o "$repository" = "nonfree" ]; then
|
||||
nodebug=yes
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue