diff --git a/src/gl-mirror-push b/src/gl-mirror-push index 4855c1b..1c6da4e 100755 --- a/src/gl-mirror-push +++ b/src/gl-mirror-push @@ -60,7 +60,7 @@ slaves="$*" # print out the job ID, then redirect all 3 FDs export job_id=$$ # can change to something else if needed echo "($job_id&) $hn ==== ($repo) ===>" $slaves >&2 -logfile=${GL_LOG/%.log/-mirror-pushes.log} +logfile=`echo $GL_LOG | sed 's/\.log$/-mirror-pushes.log/'` exec >>$logfile 2>&1