diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-11-16 21:28:09 -0500 |
|---|---|---|
| committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-11-16 21:28:09 -0500 |
| commit | 0b63a7e78a407d4a8493f5b38231ac0eed404b9e (patch) | |
| tree | 31baf93d476e1894efacb3fce125d229c2a259ed | |
| parent | 6b503b8984cf3c5848522d7dcb6ccc72939eedc7 (diff) | |
| download | keyringer-0b63a7e78a407d4a8493f5b38231ac0eed404b9e.tar.gz keyringer-0b63a7e78a407d4a8493f5b38231ac0eed404b9e.tar.bz2 | |
support symlinking keyringer into your ~/bin
| -rwxr-xr-x | keyringer | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -128,13 +128,13 @@ CONFIG="$HOME/.$NAME/config" BASENAME="`basename $0`" KEYRING="$1" ACTION="$2" -ACTIONS="`dirname $0`/share/$NAME" +ACTIONS="`dirname $(readlink -f $0)`/share/$NAME" # Export preferences for other scripts export PREFERENCES="`dirname $CONFIG`/$KEYRING" # Load functions -LIB="`dirname $0`/lib/$NAME/functions" +LIB="`dirname $(readlink -f $0)`/lib/$NAME/functions" source $LIB # Setup main configuration and load preferences |
