[pkg-opensc-commit] [libp11] 220/239: Added additional path of libsofthsm

Eric Dorland eric at moszumanska.debian.org
Sat Oct 17 06:21:36 UTC 2015


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

eric pushed a commit to branch master
in repository libp11.

commit c38c1ed9670999e3dc4361f5d058cdc76f05b28d
Author: Nikos Mavrogiannopoulos <nmav at gnutls.org>
Date:   Tue Sep 15 23:42:25 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/libp11.git



More information about the pkg-opensc-commit mailing list