chiark
/
gitweb
/
~mdw
/
distorted-keys
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Found in crybaby's working tree.
[distorted-keys]
/
cryptop.in
diff --git
a/cryptop.in
b/cryptop.in
index 7b38a0a4f2f59f30a0d2dfa173cdc247e96fb435..4858a539ebdb4a3c6163afc6315096517f5eb0ca 100755
(executable)
--- a/
cryptop.in
+++ b/
cryptop.in
@@
-26,14
+26,16
@@
set -e
: ${ETC=@pkgconfdir@}
: ${KEYS=@pkgstatedir@}
set -e
: ${ETC=@pkgconfdir@}
: ${KEYS=@pkgstatedir@}
-: ${KEYSLIB=@pkg
lib
dir@}
+: ${KEYSLIB=@pkg
data
dir@}
export ETC KEYS KEYSLIB
. "$KEYSLIB"/keyfunc.sh
export ETC KEYS KEYSLIB
. "$KEYSLIB"/keyfunc.sh
-usage="
usage: $quis
COMMAND [ARGUMENTS ...]"
+usage="COMMAND [ARGUMENTS ...]"
prefix=cryptop
prefix=cryptop
+runas @user@ cryptop "$@"
+
## Parse options.
while getopts "hv" opt; do
case "$opt" in
## Parse options.
while getopts "hv" opt; do
case "$opt" in