From 530e70c1f73a7f2678ec450da451a1ce82b40449 Mon Sep 17 00:00:00 2001 From: Steven Penny Date: Sun, 25 May 2014 13:17:39 -0500 Subject: [PATCH] msys2 correct awk statement Files are not always at field 15, they are always last field though. --- apt-msys2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt-msys2 b/apt-msys2 index 6e9e96c..fee130a 100755 --- a/apt-msys2 +++ b/apt-msys2 @@ -62,7 +62,7 @@ apt-listfiles () { do awk ' $2 == "%NAME%\n" pkg { - print $15 + print $NF } ' pkg=$pkg RS=%FILENAME% FS='\n\n' mingw64.lst done |