equal
deleted
inserted
replaced
|
1 # This patch fixes a problem in which sometimes areca wouldn't |
|
2 # start, depending on your current working directory, due to |
|
3 # faulty setting of PROGRAM_DIR. |
|
4 # When updating to the new areca v5.2.16, this patch should |
|
5 # no longer be needed. |
|
6 diff -rupN areca-7.1-orig/areca.sh areca-7.1/areca.sh |
|
7 --- areca-7.1-orig/areca.sh 2009-04-20 01:44:14.000000000 -0700 |
|
8 +++ areca-7.1/areca.sh 2012-11-19 16:13:05.288917000 -0800 |
|
9 @@ -7,14 +7,7 @@ |
|
10 #Options |
|
11 JAVADIR=/usr/java |
|
12 |
|
13 -#Getting Areca's directory |
|
14 -PROGRAM_DIR=`dirname "$0"` |
|
15 -#Solaris path |
|
16 -if [ -f ../../usr/bin/areca ]; then |
|
17 - PROGRAM_DIR=../../usr/share/areca |
|
18 -fi |
|
19 - |
|
20 -PROGRAM_DIR=`cd "$PROGRAM_DIR"; pwd` |
|
21 +PROGRAM_DIR=/usr/share/areca |
|
22 cd "${PROGRAM_DIR}" |
|
23 |
|
24 #Configured directories |