aboutsummaryrefslogblamecommitdiff
path: root/sh/eci.sh
blob: e4561980bedb4f71e3ecb9b23b69082440dda55a (plain) (tree)
1
2
3
4
5
6
7
8
9





                           
 
                
 
                  




                                                            
                           

             
#!/bin/sh

TMPFILE="/tmp/.eci.$RANDOM"

touch $TMPFILE
chmod 600 $TMPFILE

$EDITOR $TMPFILE

cd $HOME/dev/espik

date "+%D %X -- Author : $USER" >> $HOME/dev/espik/ChangeLog
cat $TMPFILE >> $HOME/dev/espik/ChangeLog
echo >> $HOME/dev/espik/ChangeLog

svn ci -m "$(cat $TMPFILE)"

rm "$TMPFILE"