From f66c59d7b259e5784c9da87df1a6f1dbca160577 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 4 Jun 2010 01:25:29 +0000 Subject: tests: cleanup isolate usage We don't need tmp/ in our top level directory --- local.mk.sample | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'local.mk.sample') diff --git a/local.mk.sample b/local.mk.sample index 7180bbd..169f6ea 100644 --- a/local.mk.sample +++ b/local.mk.sample @@ -29,23 +29,6 @@ else prefix := $(prefix)/ruby-1.9.2 export PATH := $(prefix)/bin:$(PATH) RUBY := $(prefix)/bin/ruby --disable-gems - gem_paths := $(addprefix $(prefix)/lib/ruby/gems/1.9.1/gems/,$(gems)) -endif - -ifndef NO_ISOLATE - x := $(shell test -d t/ && \ - PATH=$(PATH) NO_ISOLATE=T $(MAKE) -s isolate RUBY:="$(RUBY)") -endif - -RUBY_VERSION := $(shell $(RUBY) -e 'puts RUBY_VERSION') - -updir := $(shell git rev-parse --show-cdup) -gem_paths := $(wildcard $(updir)tmp/isolate/ruby-$(RUBY_VERSION)/gems/*-*) - -ifdef gem_paths - sp := - sp += - export RUBYLIB := $(subst $(sp),:,$(addsuffix /lib,$(gem_paths))) endif # pipefail is THE reason to use bash (v3+) or never revisions of ksh93 -- cgit v1.2.3-24-ge0c7