diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-06-01T14·18+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-06-01T14·18+0200 |
commit | bc51175dc0c5f5e2106e73779663e9942dd451c4 (patch) | |
tree | 167d524816bd16c9678e5cf7d199559db0e55668 /src/libexpr | |
parent | da196ec68f8b34e0c4c7ee32beb9073b31b1531e (diff) |
Add tarball tests
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/download.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/download.cc b/src/libexpr/download.cc index 062622000dc2..9bf3e13aa9da 100644 --- a/src/libexpr/download.cc +++ b/src/libexpr/download.cc @@ -229,7 +229,7 @@ bool isUri(const string & s) size_t pos = s.find("://"); if (pos == string::npos) return false; string scheme(s, 0, pos); - return scheme == "http" || scheme == "https"; + return scheme == "http" || scheme == "https" || scheme == "file"; } |