viewing paste /usr/local/bin/svn-updater | Bash

Posted on the
1 2 3 4 5 6 7 8 9 10
#!/bin/bash
# /usr/local/bin/svn-updater
 
[ ! -f /tmp/update-svn ] && mknod /tmp/update-svn
cd /var/www
while true
do
    read </tmp/update-svn
    svn update 2>&1 | cat >>/tmp/update-svn.log
done
Viewed 270 times, submitted by unknown.