--- revdep-rebuild.old 2005-09-21 00:04:25.662582088 +0200 +++ revdep-rebuild.nowait 2005-09-21 01:20:21.005774344 +0200 @@ -42,6 +42,7 @@ echo " --library=NAME NAME can be a full path to the library or a basic" echo " regular expression (man grep)" echo " -nc, --no-color Turn off colored output" + echo " -nw, --no-wait Turn off safety delays" echo " -i, --ignore Ignore temporary files from previous runs" echo " -q, --quiet Be less verbose (also passed to emerge command)" echo " -vv, --extra-verbose Be extra verbose" @@ -137,6 +138,7 @@ SEARCH_BROKEN=true EXTRA_VERBOSE=false KEEP_TEMP=false +WAIT=true EMERGE_OPTIONS="" PRELIMINARY_CALLED_OPTIONS="" @@ -168,6 +170,10 @@ NOCOLOR=true shift ;; + -nw | --no-wait ) + WAIT=false + shift + ;; -i | --ignore ) rm -f ${LIST}* shift @@ -522,10 +528,12 @@ echo "- An ebuild is no longer in the portage tree." echo "- An ebuild is masked, use /etc/portage/packages.keyword" echo " and/or /etc/portage/package.unmask to unmask it" - for i in . . . . . ; do - echo -n -e '\a.' - sleep 1 - done + if $WAIT ; then + for i in . . . . . ; do + echo -n -e '\a.' + sleep 1 + done + fi ln -f $LLIST.4_ebuilds $LLIST.5_order else emerge --nospinner --pretend --oneshot --emptytree $RAW_REBUILD_LIST | sed -n 's/ //g;s/^.*\]//p' | grep "$REBUILD_GREP" >$LLIST.5_order @@ -558,7 +566,7 @@ echo "emerge --oneshot $EMERGE_OPTIONS $REBUILD_LIST" -if $IS_REAL_MERGE ; then +if $IS_REAL_MERGE && $WAIT ; then for i in . . . . . . . . . . ; do echo -n -e '\a.' sleep 1