diff options
Diffstat (limited to 'generic/tclPkg.c')
-rw-r--r-- | generic/tclPkg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c index 87f3f3e..1171531 100644 --- a/generic/tclPkg.c +++ b/generic/tclPkg.c @@ -1754,10 +1754,10 @@ CheckRequirement( char *dash = NULL, *buf; dash = strchr(string, '-'); - if ((dash != NULL) && (dash[1]=='a' || dash[1]=='b')) { + if ((dash != NULL) && (dash[1]=='a' || dash[1]=='b' || dash[1]=='r')) { dash = strchr(dash+1, '-'); } - if ((dash == NULL) || dash[1]=='a' || dash[1]=='b') { + if ((dash == NULL) || dash[1]=='a' || dash[1]=='b' || dash[1]=='r') { /* * No dash found, has to be a simple version. */ |