[committed] Fix up run_all.sh

Jakub Jelinek jakub@redhat.com
Wed Sep 17 19:17:00 GMT 2014

On Wed, Sep 17, 2014 at 12:13:51PM -0700, Mike Stump wrote:
> On Sep 17, 2014, at 11:25 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> > -		  if mkdir $GCC_RUNTEST_PARALLELIZE_DIR/$par_count; then
> > +		  if mkdir $GCC_RUNTEST_PARALLELIZE_DIR/$par_count 2>/dev/null; then
> So, I can’t help but think we should just do a mkdir -p for this and be done with it.

mkdir -p does not fail if the directory exists, which is exactly what this
code relies on for the synchronization.


More information about the Gcc-patches mailing list