Shipwright/ZAPDTR/copycheck.py

10 lines
263 B
Python
Raw Normal View History

#!/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")