Fix a missing fi when building an image.

Approved by:	bdrewery (maintainer)
This commit is contained in:
Brad Davis 2018-02-06 16:33:15 +00:00
parent 9a45e1dd4e
commit a32950c90d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461075
2 changed files with 12 additions and 1 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= poudriere
DISTVERSION= 3.2.99.20180202
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= ports-mgmt
MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \
http://mirror.shatow.net/freebsd/${PORTNAME}/ \

View file

@ -0,0 +1,11 @@
--- src/share/poudriere/image.sh.orig 2018-02-06 16:22:49.894625000 +0000
+++ src/share/poudriere/image.sh 2018-02-06 16:25:14.320814000 +0000
@@ -314,7 +314,7 @@
if [ -n "${HOSTNAME}" ]; then
mkdir -p ${WRKDIR}/world/etc/rc.conf.d
echo "hostname=${HOSTNAME}" > ${WRKDIR}/world/etc/rc.conf.d/hostname
-else
+fi
[ ! -d "${EXTRADIR}" ] || cp -fRLp ${EXTRADIR}/ ${WRKDIR}/world/
mv ${WRKDIR}/world/etc/login.conf.orig ${WRKDIR}/world/etc/login.conf