Permalink
Browse files

Really fix the fileshare mounting code in manifestutil

  • Loading branch information...
gregneagle committed Oct 21, 2016
1 parent 5a1007b commit 70135813715cc3bd262fd036352fb5c680720c0c
Showing with 4 additions and 4 deletions.
  1. +4 −4 code/client/manifestutil
@@ -449,12 +449,12 @@ def mount_repo_cli():
WE_MOUNTED_THE_REPO = True
else:
# do it the old way
os.mkdir(REPO_PATH)
if REPO_URL.startswith('afp:'):
os.mkdir(repo_path)
if repo_url.startswith('afp:'):
cmd = ['/sbin/mount_afp', '-i', repo_url, repo_path]
elif REPO_URL.startswith('smb:'):
elif repo_url.startswith('smb:'):
cmd = ['/sbin/mount_smbfs', repo_url[4:], repo_path]
elif REPO_URL.startswith('nfs://'):
elif repo_url.startswith('nfs://'):
cmd = ['/sbin/mount_nfs', repo_url[6:], repo_path]
else:
print >> sys.stderr, 'Unsupported filesystem URL!'

0 comments on commit 7013581

Please sign in to comment.