Skip to content

Commit

Permalink
Use C for tar instead of f since we are coming from stdin.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed May 15, 2012
1 parent eda0683 commit f9da7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/internal/shell/vcs/handlers/archive/functions
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Please read 'sm man curl' for instructions how to solve this problem.\n"
(( ${pipestatus[1]} == 0 )) || fetch_error extracting_archive_failed (( ${pipestatus[1]} == 0 )) || fetch_error extracting_archive_failed
;; ;;
(*.tar.xz) # LZMA (*.tar.xz) # LZMA
xz -dc "${_archive}" | tar -mxf "${_archive}" 2>&1 | __sm.log.debug vcs - xz -dc "${_archive}" | tar -mxC "${_archive}" 2>&1 | __sm.log.debug vcs -
(( ${pipestatus[1]} == 0 )) || fetch_error extracting_archive_failed (( ${pipestatus[1]} == 0 )) || fetch_error extracting_archive_failed
;; ;;
(*.zip) (*.zip)
Expand Down

0 comments on commit f9da7f6

Please sign in to comment.