summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-14 21:42:35 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-14 21:42:35 -0500
commit645bcbe0f2378d55fd06e9e3a2e7996fdc64ebfb (patch)
tree97abce0ff6b64c8c87d4b9e1c92b8e2f30ebeb6c /devtools
parent9ae2e1be25d7f42c7ece612befd09744a3468473 (diff)
downloadgpsd-645bcbe0f2378d55fd06e9e3a2e7996fdc64ebfb.tar.gz
Guarantee ~ expansion.
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/flocktest2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/flocktest b/devtools/flocktest
index 353acc26..419c945c 100755
--- a/devtools/flocktest
+++ b/devtools/flocktest
@@ -188,7 +188,7 @@ class TestSite:
self.thread.start()
def update_keys(self, filename):
"Upload a specified file to replace the remote authorized keys."
- command = "scp '%s' %s:~/.ssh/.authorized_keys" % (filename, self.me)
+ command = "scp '%s' %s:~/.ssh/.authorized_keys" % (os.path.expanduser(filename), self.me)
if self.verbose:
print command
status = os.system(command)