diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-07-18 16:54:20 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-07-18 16:54:20 (GMT) |
commit | 00185eae12701527e38f27666930e4cc6b7307c7 (patch) | |
tree | a19f333b673737199cd6d6e40e4841c95f0dd609 /scripts/run-with-keyring | |
parent | e99dc4dcf1ae7908ee7792e36e9ac88c2224429a (diff) | |
parent | 06017e015e8e041c18dfb34ac2eabe8cc91b60e9 (diff) |
Merge branch 'master' of git.sugarlabs.org:sugar-build/sugar-build
Diffstat (limited to 'scripts/run-with-keyring')
-rwxr-xr-x | scripts/run-with-keyring | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/run-with-keyring b/scripts/run-with-keyring new file mode 100755 index 0000000..2925d2f --- /dev/null +++ b/scripts/run-with-keyring @@ -0,0 +1,12 @@ +#!/bin/sh + +eval `gnome-keyring-daemon --start --components=secrets,pkcs11,ssh,gpg` + +export SSH_AUTH_SOCK +export GNOME_KEYRING_CONTROL +export GPG_AGENT_INFO +export GNOME_KEYRING_PID + +exec $1 + +kill $GNOME_KEYRING_PID |