components/areca/patches/01-areca_sh.patch
branchs11-update
changeset 4601 63c842b82978
parent 2507 bdc001f3484f
equal deleted inserted replaced
4600:1be15d012e40 4601:63c842b82978
     1 # This patch fixes a problem in which sometimes areca wouldn't
     1 # This patch fixes a problem in which sometimes areca wouldn't
     2 # start, depending on your current working directory, due to
     2 # start, depending on your current working directory, due to
     3 # faulty setting of PROGRAM_DIR.
     3 # faulty setting of PROGRAM_DIR.
     4 # When updating to the new areca v5.2.16, this patch should
     4 # When updating to the new areca v5.2.16, this patch should
     5 # no longer be needed.
     5 # no longer be needed. Also forces use of Java 7
     6 diff -rupN areca-7.1-orig/areca.sh areca-7.1/areca.sh
     6 # since this version has issues with Java 8.
     7 --- areca-7.1-orig/areca.sh	2009-04-20 01:44:14.000000000 -0700
     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
     8 +++ areca-7.1/areca.sh	2015-07-07 12:35:13.646005433 -0700
     9 @@ -7,14 +7,7 @@
     9 @@ -5,16 +5,10 @@
       
    10  #
       
    11  ####################################################################
    10  #Options
    12  #Options
    11  JAVADIR=/usr/java
    13 -JAVADIR=/usr/java
       
    14 +JAVADIR=/usr/jdk/instances/jdk1.7.0
       
    15 +JAVA_PROGRAM_DIR=/usr/jdk/instances/jdk1.7.0/bin/
    12  
    16  
    13 -#Getting Areca's directory
    17 -#Getting Areca's directory
    14 -PROGRAM_DIR=`dirname "$0"`
    18 -PROGRAM_DIR=`dirname "$0"`
    15 -#Solaris path
    19 -#Solaris path
    16 -if [ -f ../../usr/bin/areca ]; then
    20 -if [ -f ../../usr/bin/areca ]; then