Skip to content

Commit

Permalink
roundtrip: Try and actually fix erroneous MSYS2 path rewrites
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed Dec 2, 2017
1 parent 0ed2741 commit 5d05ee6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions misc/roundtrip
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,8 @@ if [ -n "$APPVEYOR" ]; then
MSYS2_READTAGS="${READTAGS}"
msys2_readtags()
{
# should be called as "$0 -t FILE - NAME"
[ "$1" = -t -a "$3" = - ] || exit 1

name="$(printf '%s\n' "$4" | sed -e 's,[:*\\/],^\0,g'; printf _)"
name="${name%
_}"

"${MSYS2_READTAGS}" -t "$2" - "$name"
MSYS2_ARG_CONV_EXCL="$4"
"${MSYS2_READTAGS}" "$@"
}
READTAGS=msys2_readtags
fi
Expand Down

0 comments on commit 5d05ee6

Please sign in to comment.