OSDN Git Service

fix instaration error.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Tue, 11 Jan 2011 06:14:43 +0000 (06:14 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Tue, 11 Jan 2011 06:14:43 +0000 (06:14 +0000)
thanks to bsh.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@803 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/Makefile.base
rec10/trunk/src/install.sh

index 1efbb77..200ac21 100644 (file)
@@ -20,7 +20,7 @@ install:
        install -m755 ./rec10 $(DEST)/
        if ! [ -f /usr/local/bin/rec10 ]; then ln $(DEST)/rec10 /usr/local/bin;fi
        chmod 755 /usr/local/bin/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
-       if [ -f /etc/rec10.conf ]; then rm /etc/rec10.conf;fi
+       if [ -f /etc/rec10.conf ]; then rm /etc/rec10.conf;fi
        cp ./rec10.conf /etc/rec10.conf
        if ! [ -d /tmp/rec10 ]; then mkdir -p /tmp/rec10 ;fi
        chmod 777 /tmp/rec10
        cp ./rec10.conf /etc/rec10.conf
        if ! [ -d /tmp/rec10 ]; then mkdir -p /tmp/rec10 ;fi
        chmod 777 /tmp/rec10
index 3222722..7b9d2a8 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 SELF_DIR=`dirname $0`
 cd ${SELF_DIR}
 export LANG="ja_JP.UTF-8" && python2.6 ./install.py
 SELF_DIR=`dirname $0`
 cd ${SELF_DIR}
 export LANG="ja_JP.UTF-8" && python2.6 ./install.py