about summary refs log tree commit diff
path: root/src/download-via-ssh
diff options
context:
space:
mode:
authorGuillaume Maudoux <layus.on@gmail.com>2016-11-25T14·48+0100
committerDomen Kožar <domen@dev.si>2016-11-25T14·48+0100
commitf78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7 (patch)
tree23a76a33f21ce39184bcbdcd28cb937d15968ce7 /src/download-via-ssh
parent7ee43df8622cc0589d54248fb44cebe1c1d991d2 (diff)
Get rid of unicode quotes (#1140)
Diffstat (limited to 'src/download-via-ssh')
-rw-r--r--src/download-via-ssh/download-via-ssh.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/download-via-ssh/download-via-ssh.cc b/src/download-via-ssh/download-via-ssh.cc
index ff28a60ff4b0..5c4756372afa 100644
--- a/src/download-via-ssh/download-via-ssh.cc
+++ b/src/download-via-ssh/download-via-ssh.cc
@@ -85,7 +85,7 @@ static void query(std::pair<FdSink, FdSource> & pipes)
                 std::cout << readLongLong(pipes.second) << std::endl;
             }
         } else
-            throw Error(format("unknown substituter query ‘%1%’") % cmd);
+            throw Error(format("unknown substituter query '%1%'") % cmd);
         std::cout << std::endl;
     }
 }
@@ -132,10 +132,10 @@ int main(int argc, char * * argv)
                 throw UsageError("download-via-ssh: --substitute takes exactly two arguments");
             Path storePath = argv[2];
             Path destPath = argv[3];
-            printError(format("downloading ‘%1%’ via SSH from ‘%2%’...") % storePath % host);
+            printError(format("downloading '%1%' via SSH from '%2%'...") % storePath % host);
             substitute(pipes, storePath, destPath);
         }
         else
-            throw UsageError(format("download-via-ssh: unknown command ‘%1%’") % arg);
+            throw UsageError(format("download-via-ssh: unknown command '%1%'") % arg);
     });
 }