source: sample/hadoop-0.16/svnupload.sh @ 39

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

My shell script that can find out the java codes and upload these to svn
tree automatically..

  • Property svn:executable set to *
File size: 580 bytes
Line 
1#!/bin/bash
2# Save the script in ~/bin/ and set it the mode "755"
3#
4
5CODE_DIR=~/workspace/sample
6TRAC_DIR=~/workspace/trac_svn/cloud/sample/hadoop-0.16
7
8printf "copy $CODE_DIR to $TRAC_DIR  \n"
9#printf "copy ~/workspace/sample/ to ~/workspace/trac_svn/cloud/sample/hadoop-0.16/  \n"
10cp -ruf $CODE_DIR/*.java $TRAC_DIR
11#cp -ruf /home/waue/workspace/sample/*.java /home/waue/workspace/trac_svn/cloud/sample/hadoop-0.16/
12
13cd $TRAC_DIR
14#cd /home/waue/workspace/trac_svn/cloud/sample
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.