From 82919e1fe22c7234e294f915852fc9b13ea469f6 Mon Sep 17 00:00:00 2001 From: Weston Platter Date: Thu, 28 Nov 2013 19:37:01 -0600 Subject: [PATCH] Revert "#23 make the regex more accepting so 0.9.6-png-patch is selected" This reverts commit 487af7f950e062aa289175951da2f05e3fb60242. --- ext/phashion_ext/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/phashion_ext/extconf.rb b/ext/phashion_ext/extconf.rb index ff8c51d..e5fc329 100644 --- a/ext/phashion_ext/extconf.rb +++ b/ext/phashion_ext/extconf.rb @@ -1,7 +1,7 @@ require 'mkmf' HERE = File.expand_path(File.dirname(__FILE__)) -BUNDLE = Dir.glob("#{HERE}/pHash-.*.tar.gz").first +BUNDLE = Dir.glob("#{HERE}/pHash-*.tar.gz").first BUNDLE_PATH = BUNDLE.gsub(".tar.gz", "") $CFLAGS = " -x c++ #{ENV["CFLAGS"]}" $includes = " -I#{HERE}/include"