Fix build for jenkins

This commit is contained in:
Timmy Willison 2013-08-15 15:58:44 -04:00
parent 217cbb7109
commit f5b1a8eab7

View File

@ -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, "" );