diff --git a/incoming/yasuoka/bin/makehakubun.sh b/incoming/yasuoka/bin/makehakubun.sh index 8a94711a74f38e4492c206f4d9b443ac39584d32..cfaaa7e96dc47cee6fc78e207b1c958db0179d03 100755 --- a/incoming/yasuoka/bin/makehakubun.sh +++ b/incoming/yasuoka/bin/makehakubun.sh @@ -1,17 +1,18 @@ #! /bin/sh -. /sw/bin/init.sh -cd $HOME/projects/kanbun/mecab-kanbun -git pull . > $HOME/git-pull.log 2>&1 -D=incoming/$USER/hakubun -mkdir -p $D -for F -do B=`basename $F` - if [ ! -s $D/$B ] - then cp `ls -1t incoming/*/[th]*/$B | head -1` $D/$B - fi - /usr/local/bin/xemacs $D/$B - git add . > $HOME/git-add.log 2>&1 - git commit -am $D/$B > $HOME/git-commit.log 2>&1 -done -git push origin master > $HOME/git-push.log 2>&1 +( . /sw/bin/init.sh + cd $HOME/projects/kanbun/mecab-kanbun + git pull . + D=incoming/$USER/hakubun + mkdir -p $D + for F + do B=`basename $F` + if [ ! -s $D/$B ] + then cp `ls -1t incoming/*/[th]*/$B | head -1` $D/$B + fi + /usr/local/bin/xemacs $D/$B + git add . + git commit -am $D/$B + done + git push origin master +) > $HOME/hakubun.log exit 0 diff --git a/incoming/yasuoka/hakubun/KT01p0133.txt b/incoming/yasuoka/hakubun/KT01p0133.txt deleted file mode 100644 index 6695947bd431d934d68a337444d767ef5dc3cc7b..0000000000000000000000000000000000000000 --- a/incoming/yasuoka/hakubun/KT01p0133.txt +++ /dev/null @@ -1,2 +0,0 @@ -隲冶ェ樣寔隱ェ蠎� -nano diff --git a/incoming/yasuoka/hakubun/KT01p0133.txt~ b/incoming/yasuoka/hakubun/KT01p0133.txt~ deleted file mode 100644 index 0c9ef20e6c23d27cab8cb3e1db2638bc8e7c8734..0000000000000000000000000000000000000000 --- a/incoming/yasuoka/hakubun/KT01p0133.txt~ +++ /dev/null @@ -1,2 +0,0 @@ -隲冶ェ樣寔隱ェ蠎� -nano \ No newline at end of file