gatk-3.8/python/lsf_post_touch.py

11 lines
203 B
Python
Raw Normal View History

import sys
import os
status = sys.argv[1]
directories = list()
for j in range(2,len(sys.argv)) :
directories.append(sys.argv[j])
if ( status == "0" ):
os.system("touch "+" ".join(directories))