release.sh (46b01b2c385329823c4553ba2d05cb7a3ea10df9) | release.sh (13f89623532b1543938b8e7ec424b1f98f98784c) |
---|---|
1#!/bin/sh 2#- 3# Copyright (c) 2013 Glen Barber 4# Copyright (c) 2011 Nathan Whitehorn 5# All rights reserved. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions --- 157 unchanged lines hidden (view full) --- 166 _OSVERSION=$(sysctl -n kern.osreldate) 167 if [ -d ${CHROOTDIR}/usr/doc ] && [ "x${NODOC}" != "x" ]; then 168 PBUILD_FLAGS="OSVERSION=${_OSVERSION} WITHOUT_JADETEX=yes BATCH=yes" 169 chroot ${CHROOTDIR} make -C /usr/ports/textproc/docproj \ 170 ${PBUILD_FLAGS} install 171 fi 172} 173 | 1#!/bin/sh 2#- 3# Copyright (c) 2013 Glen Barber 4# Copyright (c) 2011 Nathan Whitehorn 5# All rights reserved. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions --- 157 unchanged lines hidden (view full) --- 166 _OSVERSION=$(sysctl -n kern.osreldate) 167 if [ -d ${CHROOTDIR}/usr/doc ] && [ "x${NODOC}" != "x" ]; then 168 PBUILD_FLAGS="OSVERSION=${_OSVERSION} WITHOUT_JADETEX=yes BATCH=yes" 169 chroot ${CHROOTDIR} make -C /usr/ports/textproc/docproj \ 170 ${PBUILD_FLAGS} install 171 fi 172} 173 |
174# If MAKE_CONF and/or SRC_CONF are set and not character devices (/dev/null), 175# copy them to the chroot. 176if [ -e ${MAKE_CONF} ] && [ ! -c ${MAKE_CONF} ]; then 177 mkdir -p ${CHROOTDIR}/$(dirname ${MAKE_CONF}) 178 cp ${MAKE_CONF} ${CHROOTDIR}/${MAKE_CONF} 179fi 180if [ -e ${SRC_CONF} ] && [ ! -c ${SRC_CONF} ]; then 181 mkdir -p ${CHROOTDIR}/$(dirname ${SRC_CONF}) 182 cp ${SRC_CONF} ${CHROOTDIR}/${SRC_CONF} 183fi 184 |
|
174if [ -d ${CHROOTDIR}/usr/ports ]; then 175 cp /etc/resolv.conf ${CHROOTDIR}/etc/resolv.conf 176 build_doc_ports ${CHROOTDIR} 177fi 178 179if [ "x${RELSTRING}" = "x" ]; then 180 RELSTRING="$(chroot ${CHROOTDIR} uname -s)-${OSRELEASE}-${TARGET_ARCH}" 181fi --- 12 unchanged lines hidden --- | 185if [ -d ${CHROOTDIR}/usr/ports ]; then 186 cp /etc/resolv.conf ${CHROOTDIR}/etc/resolv.conf 187 build_doc_ports ${CHROOTDIR} 188fi 189 190if [ "x${RELSTRING}" = "x" ]; then 191 RELSTRING="$(chroot ${CHROOTDIR} uname -s)-${OSRELEASE}-${TARGET_ARCH}" 192fi --- 12 unchanged lines hidden --- |