Skip to content

Commit 05e7615

Browse files
committed
DB2 libraries are not needed for test_hash program
[ci skip]
1 parent cf53c77 commit 05e7615

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

maketest

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,17 @@
44
# Builds the test program for the hashing routines
55
# Usage: maketest
66

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
98
#APRPATH=
109
#APUPATH=
1110

12-
# Set DB2PATH to the DB2 instance home
1311
# Set APRPATH to where apr-1-config is located
1412
# Set APUPATH to where apu-1-config is located
1513

1614
OS=`uname`
1715

1816
# Some variable magic
1917

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-
2918
if [ -z $APRPATH ]; then
3019
APRCFG=`which apr-1-config`
3120
else
@@ -57,8 +46,6 @@ if [ "$OS" == "Darwin" ]; then
5746
fi
5847

5948
if [ "$1" == "-v" ]; then
60-
echo "DB2PATH : " $DB2PATH
61-
echo
6249
echo "APR_FLAGS : " $APR_FLAGS
6350
echo "APU_FLAGS : " $APU_FLAGS
6451
echo

0 commit comments

Comments
 (0)