git » abk » commit ec827b7

Indexes are always a complete path.

author
2005-03-03 01:17:00 UTC
committer
2005-03-03 01:17:00 UTC
parent fbbac1ce027acb6f634f734efb9a9566b055e809

Indexes are always a complete path.

abk +3 -1

diff --git a/abk b/abk
index c6b475d..b185a66 100644
--- a/abk
+++ b/abk
@@ -331,8 +331,10 @@ def make_sync(src_path, srcidx_path, dst_path, dstidx_path):
 	while src_path[-1] == '/' and src_path != '/':
 		src_path = src_path[:-1]
 
-	# destination is always a complete path
+	# destination and indexes are always a complete path
+	srcidx_path = os.path.join(os.getcwd(), srcidx_path)
 	dst_path = os.path.join(os.getcwd(), dst_path)
+	dstidx_path = os.path.join(os.getcwd(), dstidx_path)
 
 	# move to the source's parent, and use the new source so we
 	# create only one level directories.