Removed some debug statements
authorTim Pope <code@tpope.net>
Thu, 16 Sep 2004 23:59:34 +0000 (23:59 +0000)
committerTim Pope <code@tpope.net>
Thu, 16 Sep 2004 23:59:34 +0000 (23:59 +0000)
bin/away-detect

index e7b5052b7302b11aaa4f166caaabb3e1eec34dbd..8424b9c2bc12e9214350c9d08d46a9e35083582e 100755 (executable)
@@ -74,13 +74,11 @@ while read times event; do
     max_end="$end"
     end="`expr 3 \* $begin / 4 + $end / 4`"
     begin="`expr $begin - 15`"
-    echo $begin $now $end $max_end
     if [ "$begin" -le "$now" -a "$now" -lt "$end" ]; then
        echo "scheduled=\"Class ($event)\"" >> "$HOME/.away-smart"
        break
     elif [ "$old_away" = "Class ($event)" -a "$now" -gt "$max_end" ]; then
        echo "old_smart=\"$old_away\"" > "$HOME/.away-smart"
-       echo HI MOM
     fi
 done