tipso: only fiddle with factotum when editing factotum file - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ae1f02adde30419e698a3f95d3bb0380aa5ec5a7
 (DIR) parent a58f193d08c370efc6b008e807563f1f678c7b69
 (HTM) Author: Russ Cox <rsc@swtch.com>
       Date:   Wed,  9 Jul 2008 11:44:27 -0400
       
       ipso: only fiddle with factotum when editing factotum file
       
       Diffstat:
         M bin/ipso                            |       6 ++++--
       
       1 file changed, 4 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/bin/ipso b/bin/ipso
       t@@ -58,9 +58,11 @@ while(~ $1 -*){
        }
        
        if(~ $flush no && ~ $edit no && ~ $load no){
       -        load = yes
                edit = yes
       -        flush = yes
       +        if(~ factotum $*){
       +                load = yes
       +                flush = yes
       +        }
        }
        
        if(~ $flush yes && ~ $edit no && ~ $load no){