Do this the right way
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4310 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
fa8cfd3031
commit
40274ba7dc
|
|
@ -1,10 +1,10 @@
|
|||
import sys
|
||||
import os
|
||||
status = sys.argv[1]
|
||||
directories = list()
|
||||
status = os.getenv("LSB_JOBEXIT_STAT")
|
||||
|
||||
for j in range(2,len(sys.argv)) :
|
||||
for j in range(1,len(sys.argv)) :
|
||||
directories.append(sys.argv[j])
|
||||
|
||||
if ( status == "0" ):
|
||||
if ( status == "0" or status == 0):
|
||||
os.system("touch "+" ".join(directories))
|
||||
|
|
|
|||
Loading…
Reference in New Issue