1 2 3 4 5 6 7 8 9
#!/usr/bin/env python3 import os from shutil import copyfile if (os.environ.get('ZAPD_COPYDIR') != None): print("Copying ZAPD.out to repo...") #print(os.environ.get('ZAPD_COPYDIR')) copyfile("ZAPD.out", os.environ.get('ZAPD_COPYDIR') + "/ZAPD.out")