summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-09-16 17:46:33 +0200
committerhut <hut@lavabit.com>2010-09-16 17:50:45 +0200
commitddc294bf3ab0f12e956496f23f51609ce343dda6 (patch)
treec18c396c2b8ed5aacec7604634ab9736bac44754 /ranger
parent81f5ac9e8b9dbcbccbd01ad8f046ccf26fb53430 (diff)
downloadranger-ddc294bf3ab0f12e956496f23f51609ce343dda6.tar.gz
core.actions: Fixed yy/pp bug when yanking multiple directories v1.2.1
Diffstat (limited to 'ranger')
-rw-r--r--ranger/__init__.py2
-rw-r--r--ranger/core/actions.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py
index c2a695c9..4f223b7d 100644
--- a/ranger/__init__.py
+++ b/ranger/__init__.py
@@ -20,7 +20,7 @@ import sys
 from ranger.ext.openstruct import OpenStruct
 
 __license__ = 'GPL3'
-__version__ = '1.2.0'
+__version__ = '1.2.1'
 __credits__ = 'Roman Zimbelmann'
 __author__ = 'Roman Zimbelmann'
 __maintainer__ = 'Roman Zimbelmann'
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index a93344a4..b88849ef 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -709,7 +709,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 				for f in self.env.copy:
 					if isdir(f.path):
 						for _ in shutil_g.copytree(src=f.path,
-								dst=join(self.env.cwd.path, f.basename),
+								dst=join(original_path, f.basename),
 								symlinks=True,
 								overwrite=overwrite):
 							yield