summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2008-10-22 06:26:37 -0800
committerRyan Davis <ryand@zenspider.com>2008-10-22 06:26:37 -0800
commitc0a2b47fe7022541f6f78731c76466c6307ae499 (patch)
tree2b162060262704c9c75bbaa2da0f0911a0f77466 /bin
parent13f759eadb7f293af50493030271aabab45a503d (diff)
downloadhoe-c0a2b47fe7022541f6f78731c76466c6307ae499.tar.gz
Fixes for windows compatibility from Luis Lavena.
[git-p4: depot-paths = "//src/hoe/dev/": change = 4382]
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sow3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/sow b/bin/sow
index 27d5c65..42dbbc4 100755
--- a/bin/sow
+++ b/bin/sow
@@ -64,7 +64,7 @@ Dir.chdir project do
end
end
-WINDOZE = /win32/ =~ RUBY_PLATFORM
+WINDOZE = /mswin|mingw/ =~ RUBY_PLATFORM
puts "... done, now go fix all occurrences of '#{X}'"
if WINDOZE then
@@ -72,4 +72,3 @@ if WINDOZE then
else
puts `find #{project} -type f | xargs grep -n #{X}`.gsub(/\A|\n/, "\n ")
end
-