Skip first argument [skip ci]
This commit is contained in:
parent
c075f4a8f5
commit
97b22d3cec
1 changed files with 3 additions and 1 deletions
|
|
@ -29,7 +29,9 @@ if not os.path.isfile(os.path.join(PROJECT_FOLDER, "build.py")):
|
||||||
print("Error: No build script present!")
|
print("Error: No build script present!")
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
BUILD_ARGUMENTS = " ".join(sys.argv)
|
BUILD_ARGUMENTS = " ".join(sys.argv[2:])
|
||||||
|
print(BUILD_ARGUMENTS)
|
||||||
|
exit(0)
|
||||||
|
|
||||||
os.chdir(PROJECT_FOLDER)
|
os.chdir(PROJECT_FOLDER)
|
||||||
if subprocess.call("python build.py %s" % BUILD_ARGUMENTS) != 0:
|
if subprocess.call("python build.py %s" % BUILD_ARGUMENTS) != 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue