Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/utils/make_update.py')
-rwxr-xr-xbuild_files/utils/make_update.py15
1 files changed, 2 insertions, 13 deletions
diff --git a/build_files/utils/make_update.py b/build_files/utils/make_update.py
index 5d82075d562..a019e17e0a8 100755
--- a/build_files/utils/make_update.py
+++ b/build_files/utils/make_update.py
@@ -13,6 +13,8 @@ import shutil
import subprocess
import sys
+from make_utils import call
+
# Parse arguments
def parse_arguments():
@@ -35,19 +37,6 @@ if shutil.which(svn_command) is None:
sys.stderr.write("svn not found, can't update libraries\n")
sys.exit(1)
-# Utility functions
-
-def call(cmd):
- print(" ".join(cmd))
-
- # Flush to ensure correct order output on Windows.
- sys.stdout.flush()
- sys.stderr.flush()
-
- retcode = subprocess.call(cmd)
- if retcode != 0:
- sys.exit(retcode)
-
def print_stage(text):
print("")
print(text)