From 62f8a03f81e9eae93d0ece6597506653303f83c5 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Thu, 27 Nov 2014 15:52:14 +0100 Subject: [PATCH] BAM checkout now cares about symlinks --- client/cli/bam.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client/cli/bam.py b/client/cli/bam.py index 14a94eb..c4a7650 100755 --- a/client/cli/bam.py +++ b/client/cli/bam.py @@ -333,6 +333,7 @@ class bam_commands: # fallback to the basename dst_dir = os.path.splitext(os.path.basename(path))[0] else: + output_dir = os.path.realpath(output_dir) if os.sep in output_dir.rstrip(os.sep): # are we a subdirectory? # (we know this exists, since we have config already)