source: svnupload.sh @ 41

Last change on this file since 41 was 41, checked in by waue, 16 years ago

give commits

  • Property svn:executable set to *
File size: 469 bytes
Line 
1#!/bin/bash
2# Save the script in ~/bin/ and set it the mode "755"
3#
4
5# change these two parameters to yours
6CODE_DIR=~/workspace/sample
7TRAC_DIR=~/workspace/trac_svn/cloud/sample/hadoop-0.16
8
9#########################################
10printf "copy $CODE_DIR to $TRAC_DIR  \n"
11cp -ruf $CODE_DIR/*.java $TRAC_DIR
12
13cd $TRAC_DIR
14# if you want to delete any class files
15# $> find ./ -name "*.class" |xargs rm
16
17printf "Svn start ... \n "
18svn update
19svn add --force ./
20svn ci
Note: See TracBrowser for help on using the repository browser.