SHA256
1
0
forked from pool/hugin
hugin/hugin-svn-dummy

16 lines
484 B
Plaintext
Raw Normal View History

#!/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