Author: lacton
Date: Sun Aug 31 10:18:31 2008
New Revision: 690736
URL: http://svn.apache.org/viewvc?rev=690736&view=rev
Log:
Orphaned comments
Modified:
incubator/buildr/trunk/rakelib/setup.rake
Modified: incubator/buildr/trunk/rakelib/setup.rake
URL:
http://svn.apache.org/viewvc/incubator/buildr/trunk/rakelib/setup.rake?rev=690736&r1=690735&r2=690736&view=diff
==============================================================================
--- incubator/buildr/trunk/rakelib/setup.rake (original)
+++ incubator/buildr/trunk/rakelib/setup.rake Sun Aug 31 10:18:31 2008
@@ -12,13 +12,14 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
-# True if running on the Windows operating sytem. Different from
Gem.win_platform?
-# which returns true if running on the Windows platform of MRI, false when
using JRuby.
require 'rubygems/source_info_cache'
require 'stringio' # for Gem::RemoteFetcher
+
+# True if running on the Windows operating sytem. Different from
Gem.win_platform?
+# which returns true if running on the Windows platform of MRI, false when
using JRuby.
def windows?
Config::CONFIG['host_os'] =~
/windows|cygwin|bccwin|cygwin|djgpp|mingw|mswin|wince/i
end