Skip to content

Commit

Permalink
add .ar archive type recognition
Browse files Browse the repository at this point in the history
  • Loading branch information
mle86 committed Jan 19, 2020
1 parent a32a337 commit cd2df07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#### next (January 2020)

- Set safe working directory access mode
- Add .ar archive type recognition
- Support option `-q` (quiet)'

#### v2.2.1 (January 2020)
Expand Down
2 changes: 1 addition & 1 deletion src/walk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ archvtype () {
fn_packroot () { find_root | cpio -0 -o -H crc $cpioopt -F "$1" ; }
fn_pack () { find_all | cpio -0 -o -H crc $cpioopt -F "$1" ; }
;;
*" ar archive"*|"X-"*".a")
*" ar archive"*|"X-"*".a"|"X-"*".ar")
aropt="oPU"
[ "$quiet" ] || aropt="${aropt}v"
fn_unpack () { ar x${aropt} "$1" ; }
Expand Down

0 comments on commit cd2df07

Please sign in to comment.