Date: Sat, 30 Oct 2010 00:00:54 +0000 (UTC) From: Doug Barton <dougb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r214541 - user/dougb/portmaster Message-ID: <201010300000.o9U00soa067628@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dougb Date: Sat Oct 30 00:00:54 2010 New Revision: 214541 URL: http://svn.freebsd.org/changeset/base/214541 Log: In the parent, use the $PM_NEEDS_UPDATE list to suggest a shortcut to resume a failed build In a child process, if we've failed there is no point in updating $IPC_SAVE, so just die instead. Modified: user/dougb/portmaster/portmaster Modified: user/dougb/portmaster/portmaster ============================================================================== --- user/dougb/portmaster/portmaster Fri Oct 29 23:24:44 2010 (r214540) +++ user/dougb/portmaster/portmaster Sat Oct 30 00:00:54 2010 (r214541) @@ -210,6 +210,13 @@ parent_exit () { done echo '' fi + + if [ -n "$1" ]; then + echo '' + echo "===>>> You can restart from the point of failure with this command line:" + echo " ${0##*/} <flags> $PM_NEEDS_UPDATE" + echo '' + fi } safe_exit () { @@ -218,6 +225,8 @@ safe_exit () { else [ -n "$grep_deps" ] && pm_unlink $grep_deps + [ -n "$1" ] && exit $1 + # Save state for the parent process to read back in if [ -z "$PM_FIRST_PASS" ]; then > $IPC_SAVE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010300000.o9U00soa067628>