#!/bin/bash

# This is a dummy SVN command, which allows to build the package without network access.
if test "$*" = "log --non-interactive -r BASE $RPM_BUILD_DIR/hugin" ; then
    cat <<EOF
---------------------------------------------------------------------------
r${RPM_PACKAGE_VERSION##*.} | unknown | xxxx-xx-xx xx:xx:xx +0000 | ? lines

This is a fake svn log.

---------------------------------------------------------------------------
EOF
else
    exec /usr/bin/svn "$@"
fi
