Skip to content

Commit

Permalink
Expand the various pkcs11 config paths properly.
Browse files Browse the repository at this point in the history
 * Without this the ${prefix} part of the variable wasn't being
   expanded and was making it into the #define.
  • Loading branch information
Stef Walter committed Jul 21, 2011
1 parent 4a3a1e0 commit 3bb86b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ AC_ARG_WITH([pkcs11-dir],
[pkcs11_dir=$withval],
[pkcs11_dir=$sysconfdir/pkcs11])

p11_system_conf="$pkcs11_dir/pkcs11.conf"
p11_system_modules="$pkcs11_dir/modules"
# We expand these so we have concrete paths
p11_system_conf=$(eval echo $pkcs11_dir/pkcs11.conf)
p11_system_modules=$(eval echo $pkcs11_dir/modules)
p11_user_conf="~/.pkcs11/pkcs11.conf"
p11_user_modules="~/.pkcs11/modules"

Expand Down

0 comments on commit 3bb86b7

Please sign in to comment.