git » abk » commit 2273961

Fix finfo_copy_file_link() and finfo_copy_file_dev() calls

author Leandro Lucarella
2005-05-01 14:30:28 UTC
committer Leandro Lucarella
2005-05-01 14:30:28 UTC
parent 6a6cc3ccd1a46f9fc926984edfce84beafe0e55c

Fix finfo_copy_file_link() and finfo_copy_file_dev() calls

abk +2 -2

diff --git a/abk b/abk
index 13c9bfa..740a30e 100644
--- a/abk
+++ b/abk
@@ -154,9 +154,9 @@ def finfo_copy_file(finfo, dst):
 	if finfo.type == 'r':
 		finfo.copy_file_reg(dst)
 	elif finfo.type == 'l':
-		finfo_copy_file_link(dst)
+		finfo_copy_file_link(finfo, dst)
 	elif finfo.type == 'b' or finfo.type == 'c':
-		finfo_copy_file_dev(dst)
+		finfo_copy_file_dev(finfo, dst)
 	elif finfo.type == 'f':
 		# we just create fifos
 		os.mkfifo(dst, finfo.mode & 07777)