From bc89bd6c8ca611e09526af40ed2a7b5f17a3bc1c Mon Sep 17 00:00:00 2001 From: gn64_jp Date: Fri, 18 Feb 2011 14:50:57 +0000 Subject: [PATCH 1/1] fix makefile error. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@842 4e526526-5e11-4fc0-8910-f8fd03428081 --- rec10/trunk/src/Makefile.base | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/rec10/trunk/src/Makefile.base b/rec10/trunk/src/Makefile.base index f358b8a..f0ec6b9 100644 --- a/rec10/trunk/src/Makefile.base +++ b/rec10/trunk/src/Makefile.base @@ -9,15 +9,15 @@ DEST = $(PREFIX)/rec10 install: if ! [ -d $(PREFIX)/rec10 ]; then mkdir -p $(PREFIX)/rec10 ;fi cp ./*.py $(DEST)/ - echo -e "#!/bin/bash" > ./rec10 - echo -e "if type -P python2.6 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python2.6 ${DEST}/rec10d.py" >> ./rec10 - echo -e "elif type -P python26 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python26 ${DEST}/rec10d.py\n" >> ./rec10 - echo -e "elif type -P python2.5 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python2.5 ${DEST}/rec10d.py\n" >> ./rec10 - echo -e "elif type -P python25 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python25 ${DEST}/rec10d.py" >> ./rec10 - echo -e "elif type -P python2.7 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python2.7 ${DEST}/rec10d.py" >> ./rec10 - echo -e "elif type -P python27 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python27 ${DEST}/rec10d.py" >> ./rec10 - echo -e "else export LANG=\"ja_JP.UTF-8\" && python ${DEST}/rec10d.py" >> ./rec10 - echo -e "fi\n" >> ./rec10 + /bin/echo -e "#!/bin/bash" > ./rec10 + /bin/echo -e "if type -P python2.6 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python2.6 ${DEST}/rec10d.py" >> ./rec10 + /bin/echo -e "elif type -P python26 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python26 ${DEST}/rec10d.py\n" >> ./rec10 + /bin/echo -e "elif type -P python2.5 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python2.5 ${DEST}/rec10d.py\n" >> ./rec10 + /bin/echo -e "elif type -P python25 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python25 ${DEST}/rec10d.py" >> ./rec10 + /bin/echo -e "elif type -P python2.7 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python2.7 ${DEST}/rec10d.py" >> ./rec10 + /bin/echo -e "elif type -P python27 > /dev/null\nthen\nexport LANG=\"ja_JP.UTF-8\" && python27 ${DEST}/rec10d.py" >> ./rec10 + /bin/echo -e "else export LANG=\"ja_JP.UTF-8\" && python ${DEST}/rec10d.py" >> ./rec10 + /bin/echo -e "fi\n" >> ./rec10 install -m755 ./rec10 $(DEST)/ if ! [ -f /usr/local/bin/rec10 ]; then ln $(DEST)/rec10 /usr/local/bin;fi chmod 755 /usr/local/bin/rec10 -- 2.11.0