summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-09 15:14:06 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-09 15:20:25 -0700
commite231e52c566ebe82f753142749d6bfff63dacc3a (patch)
treead085920ecd38a189c5a80fd2bcaa6c29f017cc7
parent3143d441dac9514693fec1121c3dd0ce06f4cf47 (diff)
downloadmixlib-shellout-dir.tar.gz
Back out the gemspec change that broke testsdir
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--mixlib-shellout-universal-mingw32.gemspec2
-rw-r--r--mixlib-shellout.gemspec2
2 files changed, 2 insertions, 2 deletions
diff --git a/mixlib-shellout-universal-mingw32.gemspec b/mixlib-shellout-universal-mingw32.gemspec
index dd41ae4..3a3968d 100644
--- a/mixlib-shellout-universal-mingw32.gemspec
+++ b/mixlib-shellout-universal-mingw32.gemspec
@@ -1,4 +1,4 @@
-gemspec = instance_eval(File.read(File.expand_path("mixlib-shellout.gemspec", __dir__)))
+gemspec = instance_eval(File.read(File.expand_path("../mixlib-shellout.gemspec", __FILE__)))
gemspec.platform = Gem::Platform.new(%w{universal mingw32})
diff --git a/mixlib-shellout.gemspec b/mixlib-shellout.gemspec
index 8890857..dbb4c3d 100644
--- a/mixlib-shellout.gemspec
+++ b/mixlib-shellout.gemspec
@@ -1,4 +1,4 @@
-$:.unshift(__dir__ + "/lib")
+$:.unshift(File.dirname(__FILE__) + "/lib")
require "mixlib/shellout/version"
Gem::Specification.new do |s|