From 28f16fe07a53d239aa0bb30384c4fb0208a55367 Mon Sep 17 00:00:00 2001 From: aNiceGuy Date: Sun, 8 Jul 2012 00:10:36 +0100 Subject: [PATCH] fix for --update --- lib/core/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/update.py b/lib/core/update.py index 2e8ba7ad3..701a83fc2 100644 --- a/lib/core/update.py +++ b/lib/core/update.py @@ -42,7 +42,7 @@ def update(): logger.debug(debugMsg) dataToStdout("\r[%s] [INFO] update in progress " % time.strftime("%X")) - process = execute("git pull %s" % rootDir, shell=True, stdout=PIPE, stderr=PIPE) + process = execute("git pull git://github.com/sqlmapproject/sqlmap.git HEAD", shell=True, stdout=PIPE, stderr=PIPE) pollProcess(process, True) stdout, stderr = process.communicate() success = not process.returncode