diff options
-rw-r--r-- | GNUmakefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 0b3238c..cee6042 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -26,8 +26,9 @@ RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))') isolate_libs := tmp/isolate/.$(RUBY_ENGINE)-$(RUBY_VERSION).libs MYLIBS = $(RUBYLIB):$(shell cat $(isolate_libs) 2>/dev/null || \ - ($(RUBY) ./script/isolate_for_tests >/dev/null && \ - cat $(isolate_libs) 2>/dev/null)) + (test -f $(isolate_libs) && \ + $(RUBY) ./script/isolate_for_tests >/dev/null && \ + cat $(isolate_libs) 2>/dev/null)) echo: @echo $(MYLIBS) |