Skip to content

Commit

Permalink
Use 7za executable instead of 7z
Browse files Browse the repository at this point in the history
  • Loading branch information
q2s2t committed Aug 26, 2014
1 parent d11ddd1 commit 712ddf5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/extract.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = function (archive, dest, options) {
}

var opts = u.switches(options);
var command = '7z e ' + archive + ' -o' + dest + ' ' + opts;
var command = '7za e ' + archive + ' -o' + dest + ' ' + opts;
u.run(command)

// When a stdout is emitted, parse each line and search for a pattern. When
Expand Down
2 changes: 1 addition & 1 deletion lib/extractFull.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = function (archive, dest, options) {
}

var opts = u.switches(options);
var command = '7z x ' + archive + ' -o' + dest + ' ' + opts;
var command = '7za x ' + archive + ' -o' + dest + ' ' + opts;
u.run(command)

// When a stdout is emitted, parse each line and search for a pattern. When
Expand Down
2 changes: 1 addition & 1 deletion lib/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function (archive, options) {
var opts = u.switches(options);
var spec = {};
var regex = /(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}) ([\.DA]+) +(\d+)[ \d]+ (.+)/;
var command = '7z l ' + archive + ' ' + opts;
var command = '7za l ' + archive + ' ' + opts;
u.run(command)

// When a stdout is emitted, parse each line and search for a pattern. When
Expand Down
2 changes: 1 addition & 1 deletion lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = function (archive, options) {
}

var opts = u.switches(options);
var command = '7z t ' + archive + ' ' + opts;
var command = '7za t ' + archive + ' ' + opts;
u.run(command)

// When a stdout is emitted, parse each line and search for a pattern. When
Expand Down

0 comments on commit 712ddf5

Please sign in to comment.