Using own stagefile for init.
This commit is contained in:
parent
50cd46d209
commit
22c8569f53
|
@ -242,7 +242,7 @@ def main():
|
||||||
## Creating configuration directory
|
## Creating configuration directory
|
||||||
|
|
||||||
# stagefile
|
# stagefile
|
||||||
if os.path.isdir('.build'):
|
if os.path.exists('.build/init'):
|
||||||
if verbose:
|
if verbose:
|
||||||
print('I: configuration directory already initialized - nothing to do')
|
print('I: configuration directory already initialized - nothing to do')
|
||||||
|
|
||||||
|
@ -514,6 +514,7 @@ def main():
|
||||||
|
|
||||||
## stagefile
|
## stagefile
|
||||||
os.makedirs('.build', exist_ok=True)
|
os.makedirs('.build', exist_ok=True)
|
||||||
|
open('.build/init', 'w').close()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue