Fix git-p4 clone (defaultDestination)
[gitweb.git] / contrib / fast-import / git-p4
index fc4e7d26f061621ac424a92b15cfc9132b76247b..89581eacaa54886fb3181f8be0a680c06fbaf5aa 100755 (executable)
@@ -1369,7 +1369,7 @@ class P4Clone(P4Sync):
                 return False
 
         if not self.cloneDestination:
-            self.cloneDestination = self.defaultDestination()
+            self.cloneDestination = self.defaultDestination(args)
 
         print "Importing from %s into %s" % (', '.join(depotPaths), self.cloneDestination)
         os.makedirs(self.cloneDestination)