[pkg-opensc-commit] [engine-pkcs11] 131/152: Added additional path of libsofthsm

Eric Dorland eric at moszumanska.debian.org
Mon Oct 19 03:11:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository engine-pkcs11.

commit 8ce72b1d052b3068b284b6d8863332221d7681c2
Author: Nikos Mavrogiannopoulos <nmav at gnutls.org>
Date:   Tue Sep 15 23:37:42 2015 +0200

    Added additional path of libsofthsm
---
 tests/common.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/common.sh b/tests/common.sh
index 8fb8a14..470c6f5 100644
--- a/tests/common.sh
+++ b/tests/common.sh
@@ -25,7 +25,11 @@ else
 	if test -f /usr/lib/softhsm/libsofthsm.so; then
 		ADDITIONAL_PARAM="/usr/lib/softhsm/libsofthsm.so"
 	else
-		ADDITIONAL_PARAM="/usr/lib64/softhsm/libsofthsm.so"
+		if test -f /usr/lib/libsofthsm.so; then
+			ADDITIONAL_PARAM="/usr/lib/libsofthsm.so"
+		else
+			ADDITIONAL_PARAM="/usr/lib64/softhsm/libsofthsm.so"
+		fi
 	fi
 fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/engine-pkcs11.git



More information about the pkg-opensc-commit mailing list