Public feed #533396

smellyfish

public text v1 · immutable
Raw Edit
·published 2007-06-03 13:23 UTC
rendered paste body
#!/bin/bash
if [ -z "$1" ]; then
        echo "SHOULD NOT HAPPEN ANYWAY... missing parameter: repository name";
        exit 1;
fi;
svn export . /var/www/html/$1 >/tmp/svn_www_log 2>/tmp/svn_www_log
if [ "$?" -ne 0 ]; then
        echo "SVN update error";
        exit $?;
fi;