diff --git a/test/script/srcupdater.py b/test/script/srcupdater.py index 21617f392a..1a19ea9568 100755 --- a/test/script/srcupdater.py +++ b/test/script/srcupdater.py @@ -74,6 +74,13 @@ def gitPull(TskOrAutopsy, branch): gppth = make_local_path("..", "GitPullOutput" + TskOrAutopsy + ".txt") attachl.append(gppth) gpout = open(gppth, 'a') + if TskOrAutopsy == "sleuthkit": + ccwd = os.path.join("..", "..", "..", "sleuthkit") + else: + ccwd = os.path.join("..", "..") + print("Checking out " + branch) + call = ["git", "checkout", branch] + subprocess.call(call, stdout=sys.stdout, cwd=ccwd) toPull = "https://www.github.com/alexjacks92/" + TskOrAutopsy call = ["git", "pull", toPull, branch] if TskOrAutopsy == "sleuthkit":