Lines 1-13
Link Here
|
1 |
--- liquibase.orig 2015-07-28 18:54:25 UTC |
1 |
--- liquibase.orig 2018-07-28 21:36:02.294669000 +0200 |
2 |
+++ liquibase |
2 |
+++ liquibase 2018-07-28 21:41:44.302244000 +0200 |
3 |
@@ -1,54 +1,14 @@ |
3 |
@@ -1,55 +1,14 @@ |
4 |
-#!/usr/bin/env bash |
4 |
-#!/usr/bin/env bash |
5 |
+#!/bin/sh |
5 |
+#!/bin/sh |
6 |
|
6 |
|
7 |
-if [ ! -n "${LIQUIBASE_HOME+x}" ]; then |
7 |
-if [ ! -n "${LIQUIBASE_HOME+x}" ]; then |
8 |
- # echo "LIQUIBASE_HOME is not set." |
8 |
- # echo "LIQUIBASE_HOME is not set." |
9 |
+LIQUIBASE_HOME=`dirname $0`/../share/liquibase |
9 |
- |
10 |
|
|
|
11 |
- ## resolve links - $0 may be a symlink |
10 |
- ## resolve links - $0 may be a symlink |
12 |
- PRG="$0" |
11 |
- PRG="$0" |
13 |
- while [ -h "$PRG" ] ; do |
12 |
- while [ -h "$PRG" ] ; do |
Lines 50-66
Link Here
|
50 |
- for i in "$LIQUIBASE_HOME"/liquibase*.jar; do |
49 |
- for i in "$LIQUIBASE_HOME"/liquibase*.jar; do |
51 |
- CP="$CP""$CP_SEPARATOR""$i" |
50 |
- CP="$CP""$CP_SEPARATOR""$i" |
52 |
- done |
51 |
- done |
|
|
52 |
- CP="$CP""$CP_SEPARATOR""$LIQUIBASE_HOME/lib/" |
53 |
- for i in "$LIQUIBASE_HOME"/lib/*.jar; do |
53 |
- for i in "$LIQUIBASE_HOME"/lib/*.jar; do |
54 |
- CP="$CP""$CP_SEPARATOR""$i" |
54 |
- CP="$CP""$CP_SEPARATOR""$i" |
55 |
- done |
55 |
- done |
56 |
-fi |
56 |
-fi |
|
|
57 |
+LIQUIBASE_HOME=`dirname $0`/../share/liquibase |
57 |
+CP=. |
58 |
+CP=. |
58 |
+for i in "$LIQUIBASE_HOME"/liquibase*.jar; do |
59 |
+for i in "$LIQUIBASE_HOME=/liquibase*.jat; do |
59 |
+ CP="$CP":"$i" |
60 |
+ CP="$CP":$i" |
60 |
+done |
61 |
+ done |
61 |
+for i in "$LIQUIBASE_HOME"/lib/*.jar; do |
62 |
+for i in $LIQUIBASE_HOME"/lib/*.jar; do |
62 |
+ CP="$CP":"$i" |
63 |
+ CP=$CP":$i" |
63 |
+done |
64 |
+ done |
|
|
65 |
+.fi |
64 |
|
66 |
|
65 |
# add any JVM options here |
67 |
# add any JVM options here |
66 |
JAVA_OPTS="${JAVA_OPTS-}" |
68 |
JAVA_OPTS="${JAVA_OPTS-}" |