Search found 1 match

by sreq
Fri Jul 21, 2017 17:24
Forum: Minetest-related projects
Topic: Git Updater Script
Replies: 6
Views: 915

Re: Git Updater Script

import os mpath = os.path.expanduser("~")+"/.minetest" mmods = os.path.join(mpath, "mods") mclientmods = os.path.join(mpath, "clientmods") mgames = os.path.join(mpath, "games") def getGit(path, c): r = "" g = os.popen("git -C "+path+" "+c, "r") while 1: line = g.readline() if not line: break r+=lin...