[prev in list] [next in list] [prev in thread] [next in thread] 

List:       berlin-design
Subject:    [Berlin-design] daily snapshots
From:       graydon hoare <graydon () pobox ! com>
Date:       1999-12-10 19:58:10
[Download RAW message or body]

I'm guessing what's happening is that everything is working fine up
until you test for -e on $OLDDIF where you mean to test on -e of
$OLDDIFF; the test will succeed (testing the directory itself, rather
than the old diff in the directory) so the script will try to run rm
$FTPDIR/$OLDDIF == $FTPDIR/ which is a directory. rm will barf that
you are trying to remove a directory without -rf, and since you have
set -e your script will silently exit, failing to clean up after
itself.

-graydon

-- 
so, wait, you think hi-nybble edge-detect sempahores in 2nd level lock 
holding proceedures for union clause object inheritance is NOT 
IMPORTANT? I'll let the Plan9 guys know. -ken chasse

_______________________________________________
Berlin-design mailing list
Berlin-design@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/berlin-design

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic