From: <ta...@us...> - 2013-11-01 14:30:33
|
Revision: 8712 http://gfarm.svn.sourceforge.net/gfarm/?rev=8712&view=rev Author: tatebe Date: 2013-11-01 14:30:26 +0000 (Fri, 01 Nov 2013) Log Message: ----------- requel to r8710 - take care in case gfncopy is not specified Revision Links: -------------- http://gfarm.svn.sourceforge.net/gfarm/?rev=8710&view=rev Modified Paths: -------------- gfarm_v2/branches/2.5/gftool/gfncopy/gfncopy Modified: gfarm_v2/branches/2.5/gftool/gfncopy/gfncopy =================================================================== --- gfarm_v2/branches/2.5/gftool/gfncopy/gfncopy 2013-11-01 14:09:01 UTC (rev 8711) +++ gfarm_v2/branches/2.5/gftool/gfncopy/gfncopy 2013-11-01 14:30:26 UTC (rev 8712) @@ -98,8 +98,8 @@ [ $? -eq 0 ] && echo $out | wc -w ;; WAIT) - if gftest -f $URL; then - ncopy=`gfncopy $URL` + ncopy=`gfncopy $URL` + if [ X$ncopy != X ] && gftest -f $URL; then count=`gfstat -c $URL` while [ $count -lt $ncopy ]; do sleep 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |