Ticket #4239: extfs/u7z: support official 7z binary (7zz).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
MooSE 2021-05-08 16:29:33 +03:00 committed by Andrew Borodin
parent 8c92bec6eb
commit 779f30c39f

View File

@ -17,7 +17,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
P7ZIP=`which 7z 2>/dev/null` || P7ZIP=`which 7za 2>/dev/null` || P7ZIP=`which 7zr 2>/dev/null` || P7ZIP=""
P7ZIP=`which 7z 2>/dev/null` \
|| P7ZIP=`which 7zz 2>/dev/null` \
|| P7ZIP=`which 7za 2>/dev/null` \
|| P7ZIP=`which 7zr 2>/dev/null` \
|| P7ZIP=""
# Let the test framework hook in:
P7ZIP=${MC_TEST_EXTFS_LIST_CMD:-$P7ZIP}