#!/bin/bash set -e function evalCm { if [ -e CVS ] then evalCm_result=cvs elif [ -e .svn ] then evalCm_result=svn elif [ -e .git ] then evalCm_result=git else evalCm_result=unknown fi } function error_exit { echo "Abbruch wegen Fehler: $*" exit 1 }