From e684dc7cca902e29fea03c850b121168b7691902 Mon Sep 17 00:00:00 2001 From: tradke Date: Tue, 4 Dec 2001 21:27:21 +0000 Subject: Removed an unneccessary 'sleep 3' when creating the scratch dir. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2479 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/make/make.configuration | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/make/make.configuration b/lib/make/make.configuration index ebf21fc5..f5fd0a99 100644 --- a/lib/make/make.configuration +++ b/lib/make/make.configuration @@ -123,7 +123,7 @@ $(CCTK_LIBDIR)/$(LIBNAME_PREFIX)%$(LIBNAME_SUFFIX): update @echo $(DIVIDER) @echo Checking status of $(notdir $@) # protect the following mkdir against parallel makes - if [ ! -d $(SCRATCH_BUILD) ]; then sleep 3; msg=`$(MKDIR) $(MKDIRFLAGS) $(SCRATCH_BUILD) 2>&1`; if [ -d $(SCRATCH_BUILD) ]; then exit 0; else echo "$$msg"; exit 1; fi; fi + if [ ! -d $(SCRATCH_BUILD) ]; then msg=`$(MKDIR) $(MKDIRFLAGS) $(SCRATCH_BUILD) 2>&1`; if [ -d $(SCRATCH_BUILD) ]; then exit 0; else echo "$$msg"; exit 1; fi; fi if [ ! -d $(BUILD_DIR) ]; then $(MKDIR) $(MKDIRFLAGS) $(BUILD_DIR) ; fi thorn_name=$(@:$(CCTK_LIBDIR)/$(LIBNAME_PREFIX)%$(LIBNAME_SUFFIX)=%); \ if [ "$$thorn_name" = "Cactus" ] ; then src_dir=$(CCTK_HOME)/src ; \ -- cgit v1.2.3