Skip to content
Snippets Groups Projects
Commit ff2cb5ce authored by 安岡孝一's avatar 安岡孝一
Browse files

test

parent 88c04e30
No related branches found
No related tags found
No related merge requests found
#! /bin/sh #! /bin/sh
. /sw/bin/init.sh ( . /sw/bin/init.sh
cd $HOME/projects/kanbun/mecab-kanbun cd $HOME/projects/kanbun/mecab-kanbun
git pull . > $HOME/git-pull.log 2>&1 git pull .
D=incoming/$USER/hakubun D=incoming/$USER/hakubun
mkdir -p $D mkdir -p $D
for F for F
do B=`basename $F` do B=`basename $F`
if [ ! -s $D/$B ] if [ ! -s $D/$B ]
then cp `ls -1t incoming/*/[th]*/$B | head -1` $D/$B then cp `ls -1t incoming/*/[th]*/$B | head -1` $D/$B
fi fi
/usr/local/bin/xemacs $D/$B /usr/local/bin/xemacs $D/$B
git add . > $HOME/git-add.log 2>&1 git add .
git commit -am $D/$B > $HOME/git-commit.log 2>&1 git commit -am $D/$B
done done
git push origin master > $HOME/git-push.log 2>&1 git push origin master
) > $HOME/hakubun.log
exit 0 exit 0
論語集說序
nano
論語集說序
nano
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment