diff --git a/CHANGELOG.md b/CHANGELOG.md index 8596646..d4a3bc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/walk.sh b/src/walk.sh index d638a1b..588f41f 100755 --- a/src/walk.sh +++ b/src/walk.sh @@ -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" ; }