diff options
author | Dave Brolley <brolley@redhat.com> | 2009-06-10 11:36:50 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-06-10 11:36:50 -0400 |
commit | 36b66efaae572dddcfb04e9a995ca69063d0e1ff (patch) | |
tree | eb8dde475a86c5e9fdd3df112a770ee13071660d /stap-env | |
parent | 3309d82e7987310cddd26342b16abfdbf292b29d (diff) | |
download | systemtap-steved-36b66efaae572dddcfb04e9a995ca69063d0e1ff.tar.gz systemtap-steved-36b66efaae572dddcfb04e9a995ca69063d0e1ff.tar.xz systemtap-steved-36b66efaae572dddcfb04e9a995ca69063d0e1ff.zip |
Respect SYSTEMTAP_DIR when looking for nss certificate databases.
Diffstat (limited to 'stap-env')
-rwxr-xr-x | stap-env | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -25,7 +25,11 @@ stap_avahi_service_tag=_stap._tcp # NSS certificate databases stap_root_ssl_db=$stap_sysconfdir/systemtap/ssl -stap_user_ssl_db=$HOME/.systemtap/ssl +if test "X$SYSTEMTAP_DIR" = "X"; then + stap_user_ssl_db=$HOME/.systemtap/ssl +else + stap_user_ssl_db=$SYSTEMTAP_DIR/ssl +fi if test $EUID = 0; then stap_ssl_db=$stap_root_ssl_db |