/[gentoo-x86]/scripts/bootstrap-new.sh
Gentoo

Diff of /scripts/bootstrap-new.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1#!/bin/bash 1#!/bin/bash
2# Copyright 1999-2005 Gentoo Foundation 2# Copyright 1999-2005 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2 3# Distributed under the terms of the GNU General Public License v2
4# $Header: /var/cvsroot/gentoo-x86/scripts/Attic/bootstrap-new.sh,v 1.1 2005/01/26 12:33:43 wolf31o2 Exp $ 4# $Header: /var/cvsroot/gentoo-x86/scripts/Attic/bootstrap-new.sh,v 1.2 2005/02/04 16:22:46 wolf31o2 Exp $
5 5
6# people who were here: 6# people who were here:
7# (drobbins, 06 Jun 2003) 7# (drobbins, 06 Jun 2003)
8# (solar, Jul 2004) 8# (solar, Jul 2004)
9# (vapier, Aug 2004) 9# (vapier, Aug 2004)
76 --pretend|-p) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -p" ; unset STRAP_RUN ;; 76 --pretend|-p) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -p" ; unset STRAP_RUN ;;
77 --tree|-t) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -p -t"; unset STRAP_RUN ;; 77 --tree|-t) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -p -t"; unset STRAP_RUN ;;
78 --resume|-r) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} --usepkg --buildpkg";; 78 --resume|-r) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} --usepkg --buildpkg";;
79 --verbose|-v) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -v"; V_ECHO=v_echo;; 79 --verbose|-v) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -v"; V_ECHO=v_echo;;
80 --version) 80 --version)
81 cvsver="$Header: /var/cvsroot/gentoo-x86/scripts/Attic/bootstrap-new.sh,v 1.1 2005/01/26 12:33:43 wolf31o2 Exp $" 81 cvsver="$Header: /var/cvsroot/gentoo-x86/scripts/Attic/bootstrap-new.sh,v 1.2 2005/02/04 16:22:46 wolf31o2 Exp $"
82 cvsver=${cvsver##*,v } 82 cvsver=${cvsver##*,v }
83 einfo "Gentoo ${GENTOO_VERS} bootstrap ${cvsver%%Exp*}" 83 einfo "Gentoo ${GENTOO_VERS} bootstrap ${cvsver%%Exp*}"
84 exit 0 84 exit 0
85 ;; 85 ;;
86 *) 86 *)
139 if [[ -n ${STRAP_RUN} ]] ; then 139 if [[ -n ${STRAP_RUN} ]] ; then
140 if [[ -f /etc/make.conf.build ]] ; then 140 if [[ -f /etc/make.conf.build ]] ; then
141 mv -f /etc/make.conf.build /etc/make.conf 141 mv -f /etc/make.conf.build /etc/make.conf
142 fi 142 fi
143 if [ ${BOOTSTRAP_STAGE} -le 3 ] ; then 143 if [ ${BOOTSTRAP_STAGE} -le 3 ] ; then
144 cp -f /var/cache/edb/mtimedb /var/run/boostrap-mtimedb 144 cp -f /var/cache/edb/mtimedb /var/run/bootstrap-mtimedb
145 else 145 else
146 rm -f /var/run/boostrap-mtimedb 146 rm -f /var/run/bootstrap-mtimedb
147 fi 147 fi
148 fi 148 fi
149 exit $1 149 exit $1
150} 150}
151 151

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20