update local folder to match files acctually used
This commit is contained in:
11
local/scripts/epilog
Executable file
11
local/scripts/epilog
Executable file
@@ -0,0 +1,11 @@
|
||||
#! /bin/bash
|
||||
# $Id: epilog 181 2010-09-17 15:55:28Z kasper $
|
||||
|
||||
## Delete the STDOUT and STDERR files (.o and .e) if they are empty
|
||||
## ( we do not want to delete non-empty files, they may contain useful
|
||||
## troubleshooting or debug information ... )
|
||||
##
|
||||
[ -r $SGE_STDOUT_PATH -a -f $SGE_STDOUT_PATH ] && [ ! -s $SGE_STDOUT_PATH ] && rm -f $SGE_STDOUT_PATH
|
||||
[ -r $SGE_STDERR_PATH -a -f $SGE_STDERR_PATH ] && [ ! -s $SGE_STDERR_PATH ] && rm -f $SGE_STDERR_PATH
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user