summaryrefslogtreecommitdiff
path: root/regress/lib/libssl/testenc.sh
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>1999-01-05 17:53:10 +0000
committerBob Beck <beck@cvs.openbsd.org>1999-01-05 17:53:10 +0000
commit0a0f4596b795354a803b00baa899ecb288a1e20b (patch)
treee3d6adb6c26887e4c48130352afdb2bc6f527335 /regress/lib/libssl/testenc.sh
parent65adbf725c06baaac6bc27dd4769fae6a9e3d45c (diff)
Fix up for make regress. Should handle objdir now.
Diffstat (limited to 'regress/lib/libssl/testenc.sh')
-rw-r--r--regress/lib/libssl/testenc.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/lib/libssl/testenc.sh b/regress/lib/libssl/testenc.sh
index ab3278f27e7..85997bfbe5c 100644
--- a/regress/lib/libssl/testenc.sh
+++ b/regress/lib/libssl/testenc.sh
@@ -1,9 +1,11 @@
#!/bin/sh
-testsrc=./ssleay.cnf
-test=./p
+testsrc=$2/ssleay.cnf
+test=$1/p
cmd=/usr/sbin/ssleay
+cd $1
+
cat $testsrc >$test;
echo cat