- Fix testport -i not working when stage orphans are found

This commit is contained in:
Bryan Drewery 2013-09-23 13:18:24 +00:00
parent f1bf13e7c1
commit cfb8657212
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327998
2 changed files with 12 additions and 0 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= poudriere
PORTVERSION= 3.0.6
PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= http://fossil.etoilebsd.net/poudriere/tarball/ \
LOCAL/bdrewery/${PORTNAME}/

View file

@ -0,0 +1,11 @@
--- ./src/share/poudriere/testport.sh.orig 2013-09-23 08:16:41.841131967 -0500
+++ ./src/share/poudriere/testport.sh 2013-09-23 08:16:54.533133490 -0500
@@ -185,7 +185,7 @@
if [ -f ${MASTERMNT}/tmp/pkgs/${PKGNAME}.${PKG_EXT} ]; then
msg "Installing from package"
- injail ${PKG_ADD} /tmp/pkgs/${PKGNAME}.${PKG_EXT}
+ injail ${PKG_ADD} /tmp/pkgs/${PKGNAME}.${PKG_EXT} || :
fi
# Interactive test mode