From: Timmy Willison Date: Thu, 15 Aug 2013 19:58:44 +0000 (-0400) Subject: Fix build for jenkins X-Git-Tag: 1.11.0-beta1~84 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f5b1a8eab7a32ebfcaaa5069dcdaa9f67f42a341;p=jquery.git Fix build for jenkins --- diff --git a/build/build.js b/build/build.js index 2bd6daf8b..eb68f685c 100644 --- a/build/build.js +++ b/build/build.js @@ -35,7 +35,7 @@ module.exports = function( grunt ) { */ function convert( name, path, contents ) { // Convert var modules - if ( /\/var\//.test( path ) ) { + if ( /.\/var\//.test( path ) ) { contents = contents .replace( /define\([\w\W]*?return/, "var " + (/var\/([\w-]+)/.exec(name)[1]) + " =" ) .replace( rdefineEnd, "" );