|
@@ -1,23 +0,0 @@
|
|
|
-#! /usr/bin/env python
|
|
|
-# -*- coding: UTF-8 -*-
|
|
|
-
|
|
|
-#------------------------------------------------------------------------------*
|
|
|
-# https://docs.python.org/2/library/subprocess.html#module-subprocess
|
|
|
-
|
|
|
-import subprocess
|
|
|
-import sys
|
|
|
-import os
|
|
|
-
|
|
|
-#------------------------------------------------------------------------------*
|
|
|
-
|
|
|
-#--- Get script absolute path
|
|
|
-scriptDir = os.path.dirname (os.path.abspath (sys.argv [0]))
|
|
|
-#--- Enumerate directories
|
|
|
-for name in os.listdir (scriptDir):
|
|
|
- fname = os.path.join (scriptDir, name, "1-build.py")
|
|
|
- if os.path.isfile (fname) :
|
|
|
- returncode = subprocess.call ([fname])
|
|
|
- if returncode != 0 :
|
|
|
- sys.exit (returncode)
|
|
|
-
|
|
|
-#------------------------------------------------------------------------------*
|