#! /usr/bin/env python import os, sys mydir = os.path.dirname(sys.argv[0]) os.chdir(mydir) os.system("svn up") import rebuild1