[projects/pld-builder.new] fix format string error

baggins baggins at pld-linux.org
Thu Jan 18 09:05:53 CET 2018


commit 620e0c777a2eae8e351c80b858a05c009cd298ba
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Jan 18 09:05:42 2018 +0100

    fix format string error

 client/rebuild-kernel-packages.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/client/rebuild-kernel-packages.py b/client/rebuild-kernel-packages.py
index be532cb..d46d5dc 100755
--- a/client/rebuild-kernel-packages.py
+++ b/client/rebuild-kernel-packages.py
@@ -91,7 +91,7 @@ def fetch_package(name, spec, branch, verbose=False):
         run_command(["/usr/bin/git", "-C", gitdir, "fetch", "origin"], verbose=verbose)
     else:
         run_command(["/usr/bin/git", "clone", "-o", "origin", "git://git.pld-linux.org/packages/" + name + ".git", gitdir], verbose=verbose)
-        if not os.path.exists("%s/%d" % (gitdir, spec)):
+        if not os.path.exists("%s/%s" % (gitdir, spec)):
             return None
         run_command(["/usr/bin/git", "-C", gitdir, "config", "--local", "--add", "remote.origin.fetch", "refs/notes/*:refs/notes/*"], verbose=verbose)
         run_command(["/usr/bin/git", "-C", gitdir, "remote", "set-url", "--push", "origin", "ssh://git@git.pld-linux.org/packages/" + name], verbose=verbose)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/620e0c777a2eae8e351c80b858a05c009cd298ba



More information about the pld-cvs-commit mailing list