projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa21b98
)
allowing expiration dates with strings longer than one digit (e.g. "10m" meaning...
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Fri, 25 Jul 2008 18:15:51 +0000
(14:15 -0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Fri, 25 Jul 2008 18:15:51 +0000
(14:15 -0400)
src/common
patch
|
blob
|
history
diff --git
a/src/common
b/src/common
index 6fc5f3318d10dc39f4482ddf6efccea44003d7f5..b57b721bee797d6ad7b21cd9daaf93d42b08555c 100644
(file)
--- a/
src/common
+++ b/
src/common
@@
-115,7
+115,7
@@
translate_ssh_variables() {
# test that a string to conforms to GPG's expiration format
test_gpg_expire() {
- echo "$1" | egrep -q "^[0-9][mwy]?$"
+ echo "$1" | egrep -q "^[0-9]
+
[mwy]?$"
}
# check that a file is properly owned, and that all it's parent