Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
EL5
>
tidy
> tidy-cvs_checkout.sh
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File tidy-cvs_checkout.sh of Package tidy
#!/bin/bash if [ $# -gt 0 ]; then DATE=$1 shift else DATE=$(date +%Y%m%d) fi MODULE="$(basename $0 -cvs_checkout.sh)" set -x rm -rf $MODULE cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy export -D $DATE $MODULE ## tar it up tar czf $MODULE-${DATE}cvs.tar.gz $MODULE ## cleanup rm -rf $MODULE