OSDN Git Service

stop using trunk or dist directory in rec10 project.
[rec10/rec10-git.git] / rec10 / install.sh
diff --git a/rec10/install.sh b/rec10/install.sh
new file mode 100644 (file)
index 0000000..1b117d9
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash
+SELF_DIR=`dirname $0`
+cd ${SELF_DIR}
+if type -P python2.6 > /dev/null
+then export LANG="ja_JP.UTF-8" && python2.6 ./install.py
+elif type -P python26 > /dev/null
+then export LANG="ja_JP.UTF-8" && python26 ./install.py
+elif type -P python2.7 > /dev/null
+then export LANG="ja_JP.UTF-8" && python2.7 ./install.py
+elif type -P python27 > /dev/null
+then export LANG="ja_JP.UTF-8" && python27 ./install.py
+elif type -P python2.5 > /dev/null
+then export LANG="ja_JP.UTF-8" && python2.5 ./install.py
+elif type -P python25 > /dev/null
+then export LANG="ja_JP.UTF-8" && python25 ./install.py
+fi
+mv Makefile.base Makefile