Permalink
Browse files

Use C for tar instead of f since we are coming from stdin.

  • Loading branch information...
wayneeseguin committed May 15, 2012
1 parent eda0683 commit f9da7f6bc3ca3f6af2aa8b1d372c63044be73048
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/internal/shell/vcs/handlers/archive/functions
@@ -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
;;
(*.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
;;
(*.zip)

0 comments on commit f9da7f6

Please sign in to comment.