equal
deleted
inserted
replaced
159 |
159 |
160 def has_p4(): |
160 def has_p4(): |
161 return matchoutput('p4 -V', r'Rev\. P4/') and matchoutput('p4d -V', r'Rev\. P4D/') |
161 return matchoutput('p4 -V', r'Rev\. P4/') and matchoutput('p4d -V', r'Rev\. P4D/') |
162 |
162 |
163 def has_symlink(): |
163 def has_symlink(): |
164 return hasattr(os, "symlink") |
164 return hasattr(os, "symlink") # FIXME: should also check file system and os |
165 |
165 |
166 def has_tla(): |
166 def has_tla(): |
167 return matchoutput('tla --version 2>&1', r'The GNU Arch Revision') |
167 return matchoutput('tla --version 2>&1', r'The GNU Arch Revision') |
168 |
168 |
169 def has_gpg(): |
169 def has_gpg(): |