|
Last change
on this file since 43 was
41,
checked in by waue, 17 years ago
|
|
give commits
|
-
Property svn:executable set to
*
|
|
File size:
469 bytes
|
| Rev | 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 |
|---|
| 6 | CODE_DIR=~/workspace/sample |
|---|
| 7 | TRAC_DIR=~/workspace/trac_svn/cloud/sample/hadoop-0.16 |
|---|
| 8 | |
|---|
| 9 | ######################################### |
|---|
| 10 | printf "copy $CODE_DIR to $TRAC_DIR \n" |
|---|
| 11 | cp -ruf $CODE_DIR/*.java $TRAC_DIR |
|---|
| 12 | |
|---|
| 13 | cd $TRAC_DIR |
|---|
| 14 | # if you want to delete any class files |
|---|
| 15 | # $> find ./ -name "*.class" |xargs rm |
|---|
| 16 | |
|---|
| 17 | printf "Svn start ... \n " |
|---|
| 18 | svn update |
|---|
| 19 | svn add --force ./ |
|---|
| 20 | svn ci |
|---|
Note: See
TracBrowser
for help on using the repository browser.