Index: build.py |
diff --git a/build.py b/build.py |
index 8501ed1d2d3ddf6d7f04cb4497c66a08df909fae..427797d9bbb4703735cef4d54e094f1060ec4390 100755 |
--- a/build.py |
+++ b/build.py |
@@ -15,4 +15,12 @@ except subprocess.CalledProcessError as e: |
print >>sys.stderr, "Failed to ensure dependencies being up-to-date!" |
import buildtools.build |
-buildtools.build.processArgs(BASE_DIR, sys.argv) |
+ |
+args = sys.argv[:] |
+if '-t' in args: |
+ index_opt = args.index('-t') |
+ index_val = index_opt + 1 |
+ if index_val < len(args): |
+ args.insert(1, args.pop(index_opt)) |
+ args.insert(2, args.pop(index_val)) |
+buildtools.build.processArgs(BASE_DIR, args) |