#!/bin/bash

NP=$(cvs status | grep Needs\ Patch | wc -l)
if [ "$NP" != 0 ]; then
  cvs up
  echo updated cvs!
fi

