Skip to content

Commit 330d494

Browse files
authored
Merge pull request #596 from git-for-windows/future-proof-make-file-list
make-file-list.sh: future-proof the `pactree` output parsing
2 parents 9518f2c + 54cc784 commit 330d494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make-file-list.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pacman_list () {
107107
do
108108
pactree -u "$arg"
109109
done |
110-
sed 's/>.*//' |
110+
sed 's/[<>=].*//' |
111111
grep -v "^\\($(echo $PACKAGE_EXCLUDES | sed \
112112
-e 's/ /\\|/g' \
113113
-e 's/mingw-w64-/&\\(i686\\|x86_64\\|clang-aarch64\\)-/g')\\)\$" |

0 commit comments

Comments
 (0)