summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-23 03:54:54 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-23 03:54:54 +0000
commitdf9cae4484eaec9ba709cd7ce948bebd72594f59 (patch)
treec5bcdd75fee2a9e716091d868c0a716c59b6ec3c /scripts
parentAdded to ~sparc. (diff)
downloadhistorical-df9cae4484eaec9ba709cd7ce948bebd72594f59.tar.gz
historical-df9cae4484eaec9ba709cd7ce948bebd72594f59.tar.bz2
historical-df9cae4484eaec9ba709cd7ce948bebd72594f59.zip
add --tree option from compnerd
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index cb687f01c348..3c21ca6863b4 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -1,12 +1,13 @@
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.59 2004/10/22 05:30:23 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.60 2004/11/23 03:54:54 vapier Exp $
# people who were here:
# (drobbins, 06 Jun 2003)
# (solar, Jul 2004)
# (vapier, Aug 2004)
+# (compnerd, Nov 2004)
if [ -e /etc/init.d/functions.sh ] ; then
source /etc/init.d/functions.sh
@@ -30,17 +31,19 @@ for opt in "$@" ; do
unset STRAP_RUN;;
--help|-h)
echo -e "Usage: ${HILITE}bootstrap-cascade.sh${NORMAL} ${GOOD}[options]${NORMAL}"
+ echo -e " ${GOOD}--debug (-d)${NORMAL} Run with debug information turned on"
echo -e " ${GOOD}--fetchonly (-f)${NORMAL} Just download all the source files"
echo -e " ${GOOD}--info (-i)${NORMAL} Show system related information"
echo -e " ${GOOD}--pretend (-p)${NORMAL} Display the packages that will be merged"
+ echo -e " ${GOOD}--tree (-t)${NORMAL} Display the dependency tree, forces -p"
echo -e " ${GOOD}--resume (-r)${NORMAL} Build/use binary packages"
- echo -e " ${GOOD}--debug (-d)${NORMAL} Run with debug information turned on"
exit 1;;
+ --debug|-d) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} --debug"; DEBUG=1;;
--info|-i) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} --info" ; unset STRAP_RUN ;;
--pretend|-p) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -p" ; unset STRAP_RUN ;;
+ --tree|-t) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -p -t"; unset STRAP_RUN ;;
--resume|-r) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} --usepkg --buildpkg";;
--verbose|-v) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -v";;
- --debug|-d) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} --debug"; DEBUG=1;;
*) ;;
esac
done