View | Details | Raw Unified | Return to bug 223742
Collapse All | Expand All

(-)release.sh (-2 / +9 lines)
Lines 289-296 Link Here
289
289
290
		if [ ! -z "${EMBEDDEDPORTS}" ]; then
290
		if [ ! -z "${EMBEDDEDPORTS}" ]; then
291
			for _PORT in ${EMBEDDEDPORTS}; do
291
			for _PORT in ${EMBEDDEDPORTS}; do
292
				eval chroot ${CHROOTDIR} make -C /usr/ports/${_PORT} \
292
				PKGNAME=`chroot ${CHROOTDIR} make -C /usr/ports/${_PORT} \
293
					FORCE_PKG_REGISTER=1 ${PBUILD_FLAGS} install clean distclean
293
					-V PKGNAME`
294
				PKGNAME_INSTALLED=`chroot ${CHROOTDIR} pkg info -E ${PKGNAME} 2> /dev/null`
295
				if [ "${PKGNAME_INSTALLED}" != "${PKGNAME}" ]; then
296
					eval chroot ${CHROOTDIR} make -C /usr/ports/${_PORT} \
297
						FORCE_PKG_REGISTER=1 ${PBUILD_FLAGS} install clean distclean
298
				else
299
					echo "skipping install of ${_PORT} as it is already installed and up to date."
300
				fi
294
			done
301
			done
295
		fi
302
		fi
296
	fi
303
	fi

Return to bug 223742