There was an error while loading. Please reload this page.
2 parents b75a453 + 9138406 commit cf7bdc3Copy full SHA for cf7bdc3
index.js
@@ -5,7 +5,8 @@ var run = require('gulp-run');
5
module.exports = function resolver (bower) {
6
return {
7
match: function (source) {
8
-return source.indexOf('svn+https://') === 0;
+return source.indexOf('svn+https://') === 0
9
+|| source.indexOf('svn+http://') === 0;
10
},
11
12
// no normalisation required
@@ -76,9 +77,11 @@ module.exports = function resolver (bower) {
76
77
if(err)
78
reject("Error during SVN checkout: "+err);
79
else {
-// ensure the folder is accessible
80
-run('chmod -R ugo+X '+tempDir.name).exec();
81
-
+
+if ('win32' !== process.platform) {
82
+run('chmod -R +X '+ tempDir.name).exec();
83
+}
84
85
resolve({
86
tempPath: tempDir.name,
87
removeIgnores: true
0 commit comments