diff options
author | Fabian Groffen <grobian@gentoo.org> | 2021-02-17 21:22:31 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2021-02-17 21:22:31 +0100 |
commit | e2e7288eba60fbb0e1ba8644168227b424b10ccc (patch) | |
tree | de86bc8dcc1ebdcfc6b77a9c3a615e124daca074 /ar-lib | |
parent | qwhich: add applet to show paths to packages (diff) | |
download | portage-utils-e2e7288eba60fbb0e1ba8644168227b424b10ccc.tar.gz portage-utils-e2e7288eba60fbb0e1ba8644168227b424b10ccc.tar.bz2 portage-utils-e2e7288eba60fbb0e1ba8644168227b424b10ccc.zip |
build-sys: regen with automake 1.16.3
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'ar-lib')
-rwxr-xr-x | ar-lib | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -2,9 +2,9 @@ # Wrapper for Microsoft lib.exe me=ar-lib -scriptversion=2012-03-01.08; # UTC +scriptversion=2019-07-04.01; # UTC -# Copyright (C) 2010-2018 Free Software Foundation, Inc. +# Copyright (C) 2010-2020 Free Software Foundation, Inc. # Written by Peter Rosin <peda@lysator.liu.se>. # # This program is free software; you can redistribute it and/or modify @@ -53,7 +53,7 @@ func_file_conv () MINGW*) file_conv=mingw ;; - CYGWIN*) + CYGWIN* | MSYS*) file_conv=cygwin ;; *) @@ -65,7 +65,7 @@ func_file_conv () mingw) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; - cygwin) + cygwin | msys) file=`cygpath -m "$file" || echo "$file"` ;; wine) @@ -224,10 +224,11 @@ elif test -n "$extract"; then esac done else - $AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g' | while read member - do - $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $? - done + $AR -NOLOGO -LIST "$archive" | tr -d '\r' | sed -e 's/\\/\\\\/g' \ + | while read member + do + $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $? + done fi elif test -n "$quick$replace"; then |