File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 4
4
# Builds the test program for the hashing routines
5
5
# Usage: maketest
6
6
7
- # Uncomment the next 3 lines, if you set the paths manually
8
- # DB2PATH=
7
+ # Uncomment the next 2 lines, if you set the paths manually
9
8
# APRPATH=
10
9
# APUPATH=
11
10
12
- # Set DB2PATH to the DB2 instance home
13
11
# Set APRPATH to where apr-1-config is located
14
12
# Set APUPATH to where apu-1-config is located
15
13
16
14
OS=` uname`
17
15
18
16
# Some variable magic
19
17
20
- if [ -z $DB2_HOME ] && [ -z $DB2PATH ] || [ ! -e $DB2PATH ]; then
21
- echo " DB2 instance directory not found. Please set DB2PATH at the beginning of the script."
22
- exit 1
23
- else
24
- if [ -z $DB2PATH ]; then
25
- DB2PATH=$DB2_HOME
26
- fi
27
- fi
28
-
29
18
if [ -z $APRPATH ]; then
30
19
APRCFG=` which apr-1-config`
31
20
else
@@ -57,8 +46,6 @@ if [ "$OS" == "Darwin" ]; then
57
46
fi
58
47
59
48
if [ " $1 " == " -v" ]; then
60
- echo " DB2PATH : " $DB2PATH
61
- echo
62
49
echo " APR_FLAGS : " $APR_FLAGS
63
50
echo " APU_FLAGS : " $APU_FLAGS
64
51
echo
You can’t perform that action at this time.
0 commit comments